GitMonitor.vala
authorAlan Knowles <alan@roojs.com>
Wed, 14 May 2014 11:51:56 +0000 (19:51 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 14 May 2014 11:51:56 +0000 (19:51 +0800)
GitMonitor.vala

index 7efedfe..5475af6 100644 (file)
@@ -398,7 +398,11 @@ public class GitMonitor : Monitor
              
             // make sure monitoring is paused so it does not recursively pick up
             // deletions
-            
+              try {
+                repo.pull();
+            } catch(Error e) {
+                failure +=  e.message;
+            }  
             // -- DO STUFF..            
             try {
                 repo.add(add_files);