projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcae107
)
sync
author
Alan Knowles
<alan@roojs.com>
Fri, 25 Aug 2017 05:29:15 +0000
(13:29 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 25 Aug 2017 05:29:15 +0000
(13:29 +0800)
GitMonitor.vala
patch
|
blob
|
history
diff --git
a/GitMonitor.vala
b/GitMonitor.vala
index
4e05668
..
c1387b7
100644
(file)
--- a/
GitMonitor.vala
+++ b/
GitMonitor.vala
@@
-517,11
+517,14
@@
public class GitMonitor : Monitor
print( "ADD : %s\n", GitMonitorQueue.queueArrayToString(add_files_f));
print( "REMOVE FILES: %s\n", GitMonitorQueue.queueArrayToString(remove_files_f));
+ if (add_files_f.length < 1 && remove_files_f.length < 1) {
+ continue;
+ }
+
// make sure monitoring is paused so it does not recursively pick up
// deletions
this.paused = true;
-
-
+
try {
repo.pull();