gitlive.js
authorAlan Knowles <alan@wideboy.(none)>
Wed, 28 Apr 2010 14:39:05 +0000 (22:39 +0800)
committerAlan Knowles <alan@wideboy.(none)>
Wed, 28 Apr 2010 14:39:05 +0000 (22:39 +0800)
gitlive.js

index 9f4e87c..e2e925e 100644 (file)
@@ -120,9 +120,10 @@ var monitor = new Monitor({
             }
             return;
         }
+        
         this.queue.push( 
-            //[ src.gitpath,  'add', src.vpath ],
-            [ src.gitpath,  'commit', { all: true, message: src.vpath} ],
+            [ src.gitpath,  'add', src.vpath ],
+            [ src.gitpath,  'commit', src.vpath, {  message: src.vpath} ],
             [ src.gitpath , 'push', { all: true } ]
             
         );