GitMonitor.vala
authorAlan Knowles <alan@roojs.com>
Thu, 8 May 2014 13:43:35 +0000 (21:43 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 8 May 2014 13:43:35 +0000 (21:43 +0800)
GitMonitor.vala

index c1d3070..9895668 100644 (file)
@@ -518,9 +518,15 @@ public class GitMonitor : Monitor
         if (cmd.shouldIgnore()) {
             return;
         }
+        cmd.name = "add";
+        cmd.add = src.vpath;
+        this.queue.append_val(cmd);
 
-
-
+        var cmd = new GitMontitorQueue(src, this.gitlive);
+        cmd.name = "commit";
+        cmd.message = "Attribute changed " + cmd.vpath;
+        this.queue.append_val(cmd);
+    }