this.message = "";
this.commit_all = false;
-
+
var vpath_ar = this.dir.substring(GitMonitor.gitlive.length +1).split("/", 0);
if (vpath_ar[0].length < 1) {
repo.pull();
} catch(Error e) {
failure += e.message;
- }
+ }
+
+
// -- DO STUFF..
try {
repo.add(add_files);
if (this.paused) {
return;
}
+ if (src.dir == GitMonitor.gitlive) {
+ return; // attribute on top level..
+ }
+
this.lastAdd = new DateTime.now(new TimeZone.local());
var cmd = new GitMonitorQueue(src);
if (cmd.shouldIgnore()) {