From: Alan Knowles Date: Wed, 19 Dec 2018 03:44:51 +0000 (+0800) Subject: GitMonitor.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=b1bf91e3945a2b6d265869d4ba8ae4d9ad8e7ea2 GitMonitor.vala --- diff --git a/GitMonitor.vala b/GitMonitor.vala index 108e5912..e99fa084 100644 --- a/GitMonitor.vala +++ b/GitMonitor.vala @@ -57,7 +57,7 @@ public class GitMonitor : Monitor var first = this.queue.get(0); var delay = true; - // eg. on master.... + // eg. on master.... and is_auto branch if (!first.repo.is_wip_branch() && first.repo.is_auto_branch()) { delay = false; } @@ -258,7 +258,7 @@ public class GitMonitor : Monitor } foreach(var q in this.queue) { - if (!q.shouldIgnore() && !q.repo.is_wip_branch() && q.repo.is_auto_branch()) { + if (!q.shouldIgnore() && q.repo.is_master_branch() && q.repo.is_auto_branch()) { var oldq = this.queue; this.queue = new Gee.ArrayList(); NewBranch.singleton().show(q.repo, oldq);