From: Alan Knowles Date: Fri, 5 Sep 2014 03:49:33 +0000 (+0800) Subject: GitMonitor.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=3aeae03d587af050a8f5dd599e26d997b7efedea GitMonitor.vala --- diff --git a/GitMonitor.vala b/GitMonitor.vala index 77dd178b..06e58820 100644 --- a/GitMonitor.vala +++ b/GitMonitor.vala @@ -366,7 +366,7 @@ public class GitMonitor : Monitor break; case "rm": - if (GitMonitorQueue.indexOfAdd(add_files, cmd.vname) > -1 ) { + if (GitMonitorQueue.indexOfAdd(remove_files, cmd.vname) > -1 ) { break; } @@ -679,11 +679,11 @@ public class GitMonitor : Monitor return; } - print("RM: %s\n", cmds_s.vname); + print("RM: %s\n", cmd_s.vname); cmd_s.action = "rm"; this.queue.append_val(cmd_s); - print("ADD: %s\n", cmds_d.vname); + print("ADD: %s\n", cmd_d.vname); cmd_d.action = "add"; this.queue.append_val(cmd_d);