GitMonitorQueue.vala
[gitlive] / GitMonitorQueue.vala
index 561aa66..6ed40e7 100644 (file)
@@ -44,7 +44,7 @@ public class GitMonitorQueue : MonitorNamePathDir {
                        this.repo = GitRepo.get(this.gitpath);
                        
                        // trigger the suggestion to start a new branch
-                       if (!this.shouldIgnore() && !this.repo.currentBranch.name.has_prefix("wip_")) {
+                       if (!this.shouldIgnore() && !this.repo.is_wip_branch()) {
                                NewBranch.singleton().show(this.repo);
                        }
                }