projects
/
gitlive
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
handling of old branches
[gitlive]
/
GitMonitor.vala
diff --git
a/GitMonitor.vala
b/GitMonitor.vala
index
864e046
..
052b05f
100644
(file)
--- a/
GitMonitor.vala
+++ b/
GitMonitor.vala
@@
-595,9
+595,7
@@
public class GitMonitor : Monitor
cmd.action = "commit";
cmd.message = cmd.vname;
this.queue.add(cmd);
cmd.action = "commit";
cmd.message = cmd.vname;
this.queue.add(cmd);
-
-
-
+
}
public override void onDeleted(MonitorNamePathDir src)
}
public override void onDeleted(MonitorNamePathDir src)
@@
-623,9
+621,6
@@
public class GitMonitor : Monitor
cmd.commit_all = true;
this.queue.add(cmd);
cmd.commit_all = true;
this.queue.add(cmd);
-
-
-
}
public override void onCreated(MonitorNamePathDir src) {
}
public override void onCreated(MonitorNamePathDir src) {
@@
-682,8
+677,6
@@
public class GitMonitor : Monitor
cmd.action = "commit";
cmd.message = "Attribute changed " + cmd.vname;
this.queue.add(cmd);
cmd.action = "commit";
cmd.message = "Attribute changed " + cmd.vname;
this.queue.add(cmd);
-
-
}
public override void onMoved(MonitorNamePathDir src,MonitorNamePathDir dest)
}
public override void onMoved(MonitorNamePathDir src,MonitorNamePathDir dest)
@@
-716,12
+709,9
@@
public class GitMonitor : Monitor
if (cmd_d.shouldIgnore()) {
this.onDeleted(src);
if (cmd_d.shouldIgnore()) {
this.onDeleted(src);
-
-
return;
}
return;
}
-
-
+
GLib.debug("RM: %s", cmd_s.vname);
cmd_s.action = "rm";
this.queue.add(cmd_s);
GLib.debug("RM: %s", cmd_s.vname);
cmd_s.action = "rm";
this.queue.add(cmd_s);
@@
-740,14
+730,9
@@
public class GitMonitor : Monitor
cmd.message = cmd_d.vname;
}
cmd.message = cmd_d.vname;
}
-
this.queue.add(cmd);
this.queue.add(cmd);
-
- // this is where it get's complicated...
- // as we might be moving across repo's...
-
-
-
+
+
}
}