From 3aeae03d587af050a8f5dd599e26d997b7efedea Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 5 Sep 2014 11:49:33 +0800 Subject: [PATCH] GitMonitor.vala --- GitMonitor.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.39.2