GitRepo.vala
[gitlive] / GitMonitor.vala
index e99fa08..1b11558 100644 (file)
@@ -58,7 +58,7 @@ public class GitMonitor : Monitor
                        var delay = true;
                        
                        // eg. on master.... and is_auto branch
-                       if (!first.repo.is_wip_branch() && first.repo.is_auto_branch()) {
+                       if (first.repo.is_master_branch() && first.repo.is_auto_branch()) {
                                delay = false;
                        }
                        
@@ -307,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;
                        }