sync
[gitlive] / GitMonitor.vala
index 2ba9685..17dedfc 100644 (file)
@@ -1,5 +1,8 @@
 
-  
+
+
+
+
 
 public class GitMonitor : Monitor
 {
@@ -221,6 +224,17 @@ public class GitMonitor : Monitor
                if (this.paused || this.queue.size < 1 ) {
                        return;
                }
+               
+               foreach(var q in this.queue) {
+                       if (!q.shouldIgnore() && !q.repo.is_wip_branch()) {
+                               NewBranch.singleton().show(q.repo);
+                               return;
+                       }
+               
+               }
+               
+                
+               
                GLib.debug("GitMonitor.runQueue\n");
 
                this.queueRunning = true;