From: Alan Knowles Date: Sat, 10 May 2014 14:37:37 +0000 (+0800) Subject: GitMonitor.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=b78359def8f024083d7c11f18c82e434f1a1b782 GitMonitor.vala --- diff --git a/GitMonitor.vala b/GitMonitor.vala index e0d721c2..4b80c432 100644 --- a/GitMonitor.vala +++ b/GitMonitor.vala @@ -491,7 +491,7 @@ public class GitMonitor : Monitor cmd = new GitMonitorQueue(src); cmd.action = "commit"; - cmd.message = src.vname; + cmd.message = cmd.vname; this.queue.append_val(cmd); @@ -509,12 +509,12 @@ public class GitMonitor : Monitor // should check if monitor needs removing.. // it should also check if it was a directory.. - so we dont have to commit all.. cmd.action = "rm"; - cmd.rm = src.vpath; + cmd.rm = cmd.vpath; this.queue.append_val(cmd); var cmd = new GitMonitorQueue(src); cmd.action = "commit"; - cmd.message = src.vname; + cmd.message = cmd.vname; cmd.commit_all = true; this.queue.append_val(cmd);