GitMonitor.vala
authorAlan Knowles <alan@akbkhome.com>
Sat, 10 May 2014 14:37:37 +0000 (22:37 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 10 May 2014 14:37:37 +0000 (22:37 +0800)
GitMonitor.vala

index e0d721c..4b80c43 100644 (file)
@@ -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);