X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=GitMonitor.vala;h=798971c49438b46d9935dca0bee8c2382c88848b;hp=052b05f4dd04b98bb8e091f949a16659b5a6195f;hb=43b29bb4bbe76f64630ebfbdc6cc77aa61960058;hpb=55d94ffcc22b705da1d4149afd5d4cfb453136ba diff --git a/GitMonitor.vala b/GitMonitor.vala index 052b05f4..798971c4 100644 --- a/GitMonitor.vala +++ b/GitMonitor.vala @@ -250,7 +250,7 @@ public class GitMonitor : Monitor } foreach(var q in this.queue) { - if (!q.shouldIgnore() && !q.repo.is_wip_branch()) { + if (!q.shouldIgnore() && !q.repo.is_wip_branch() && q.repo.is_auto_branch()) { var oldq = this.queue; this.queue = new Gee.ArrayList(); NewBranch.singleton().show(q.repo, oldq); @@ -262,7 +262,7 @@ public class GitMonitor : Monitor - GLib.debug("GitMonitor.runQueue\n"); + GLib.debug("GitMonitor.runQueue size =%d\n", this.queue.size); this.queueRunning = true; @@ -299,7 +299,7 @@ public class GitMonitor : Monitor var gitpath = cmd.gitpath; var repo = GitRepo.get( gitpath ); - if ( !repo.is_wip_branch()) { + if ( !repo.is_wip_branch() && repo.is_auto_branch()) { leave_queued.add(cmd); continue; }