[ src.gitpath, 'commit', { all: true, message: src.vpath} ]
);
-
+ this.action_queue.push({
+ action: 'rm',
+ repo : src.repo,
+ file : src.vpath
+ });
},
onCreated : function(src)
}
// director has bee created
this.monitor(src.path);
+
+ /*
+ since git does not really handle directory adds...
+
this.lastAdd = new Date();
+ this.action_queue.push({
+ action: 'add',
+ repo : src.repo,
+ file : src.vpath
+ });
+
this.queue.push(
[ src.gitpath, 'add' , src.vpath, { all: true } ],
[ src.gitpath, 'commit' , { all: true, message: src.vpath} ]
);
+ */
},