GitMonitorQueue.vala
authorAlan Knowles <alan@roojs.com>
Thu, 1 Nov 2018 13:30:34 +0000 (21:30 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 1 Nov 2018 13:30:34 +0000 (21:30 +0800)
GitMonitorQueue.vala

index 7d40d54..c4cf9d9 100644 (file)
@@ -44,11 +44,12 @@ public class GitMonitorQueue : MonitorNamePathDir {
                        this.repo = GitRepo.get(this.gitpath);
                        
                        // trigger the suggestion to start a new branch
-                       
-                       NewBranch.signleton().show(this.repo);
-               
+                       if (!this.shouldIgnore()) {
+                               NewBranch.singleton().show(this.repo);
+                       }
                }
 
+
                public bool shouldIgnore()
                {