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

index 420ab12..4d51102 100644 (file)
@@ -248,6 +248,12 @@ public class GitMonitor : Monitor
                        var cmd = cmds.index(i);
                
                        var gitpath = cmd.gitpath; 
+                       
+                       var repo = GitRepo.get( gitpath );
+                       if ( !repo.isWipBranch()) {
+                               continue;
+                       }
+                       
                        GLib.debug("GitMonitor.runQueue - finding %s", cmd.gitpath);
                
                        var ix  = GitRepo.indexOf(repo_list,  cmd.gitpath);