From: Alan Knowles Date: Fri, 25 Aug 2017 05:29:15 +0000 (+0800) Subject: sync X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=4213fb6fcb66d676eb25586f13d4d2848bf89892 sync --- diff --git a/GitMonitor.vala b/GitMonitor.vala index 4e05668e..c1387b7b 100644 --- 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();