sync
[gitlive] / GitMonitor.vala
index d6fd736..17dedfc 100644 (file)
@@ -224,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;