projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08b9a82
)
sync
author
Alan Knowles
<alan@roojs.com>
Mon, 1 Jun 2015 03:11:03 +0000
(11:11 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 1 Jun 2015 03:11:03 +0000
(11:11 +0800)
GitMonitor.vala
patch
|
blob
|
history
diff --git
a/GitMonitor.vala
b/GitMonitor.vala
index
d8ca8eb
..
c32c91a
100644
(file)
--- a/
GitMonitor.vala
+++ b/
GitMonitor.vala
@@
-436,9
+436,15
@@
public class GitMonitor : Monitor
};
for(var ii = 0;ii < add_files.length;ii++) {
if (GitMonitorQueue.indexOfAdd(remove_files, add_files.index(ii).vname) > -1 ) {
- // in add and remove - do not remvove
- continue;
+ // the add file is in the remove list, and it does not exist - do not add it..
+ if (!FileUtils.test(add_files.index(ii).vname, FileTest.EXISTS)) {
+ continue;
+ }
+
}
+
+
+
add_files_f.append_val(add_files.index(ii));
};