X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=GitMonitor.vala;h=1b11558f03dba3a900904694d23f1078d44e3f51;hp=7e42154a36ed151ddd550430b44291e697db7edc;hb=72a4edfbda67d0bf3eb93a91c28c4084945ddae5;hpb=4879313d9a4fffaa84198dc31c5aba384614bc15 diff --git a/GitMonitor.vala b/GitMonitor.vala index 7e42154a..1b11558f 100644 --- a/GitMonitor.vala +++ b/GitMonitor.vala @@ -56,7 +56,9 @@ public class GitMonitor : Monitor } var first = this.queue.get(0); var delay = true; - if (!first.repo.is_wip_branch() && first.repo.is_auto_branch()) { + + // eg. on master.... and is_auto branch + if (first.repo.is_master_branch() && first.repo.is_auto_branch()) { delay = false; } @@ -256,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); @@ -305,7 +307,7 @@ public class GitMonitor : Monitor var gitpath = cmd.gitpath; var repo = GitRepo.get( gitpath ); - if ( !repo.is_wip_branch() && repo.is_auto_branch()) { + if ( repo.is_master_branch() && repo.is_auto_branch()) { leave_queued.add(cmd); continue; }