GitMonitorQueue.vala
authorAlan Knowles <alan@roojs.com>
Fri, 2 Nov 2018 04:13:09 +0000 (12:13 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 2 Nov 2018 04:13:09 +0000 (12:13 +0800)
GitMonitorQueue.vala

index c4cf9d9..561aa66 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()) {
+                       if (!this.shouldIgnore() && !this.repo.currentBranch.name.has_prefix("wip_")) {
                                NewBranch.singleton().show(this.repo);
                        }
                }