From 9ca55e5b3b07eebe90b2d9c8c254156d1d9e4a74 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 2 Nov 2018 12:14:35 +0800 Subject: [PATCH] GitMonitor.vala --- GitMonitor.vala | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/GitMonitor.vala b/GitMonitor.vala index 420ab12e..4d511027 100644 --- a/GitMonitor.vala +++ b/GitMonitor.vala @@ -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); -- 2.39.2