projects
/
gitlive
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync
[gitlive]
/
GitMonitor.vala
diff --git
a/GitMonitor.vala
b/GitMonitor.vala
index
543ba58
..
798971c
100644
(file)
--- a/
GitMonitor.vala
+++ b/
GitMonitor.vala
@@
-250,7
+250,7
@@
public class GitMonitor : Monitor
}
foreach(var q in this.queue) {
}
foreach(var q in this.queue) {
- if (!q.shouldIgnore() && !q.repo.is_wip_branch()) {
+ if (!q.shouldIgnore() && !q.repo.is_wip_branch()
&& q.repo.is_auto_branch()
) {
var oldq = this.queue;
this.queue = new Gee.ArrayList<GitMonitorQueue>();
NewBranch.singleton().show(q.repo, oldq);
var oldq = this.queue;
this.queue = new Gee.ArrayList<GitMonitorQueue>();
NewBranch.singleton().show(q.repo, oldq);
@@
-262,7
+262,7
@@
public class GitMonitor : Monitor
- GLib.debug("GitMonitor.runQueue
\n"
);
+ GLib.debug("GitMonitor.runQueue
size =%d\n", this.queue.size
);
this.queueRunning = true;
this.queueRunning = true;
@@
-299,7
+299,7
@@
public class GitMonitor : Monitor
var gitpath = cmd.gitpath;
var repo = GitRepo.get( gitpath );
var gitpath = cmd.gitpath;
var repo = GitRepo.get( gitpath );
- if ( !repo.is_wip_branch()) {
+ if ( !repo.is_wip_branch()
&& repo.is_auto_branch()
) {
leave_queued.add(cmd);
continue;
}
leave_queued.add(cmd);
continue;
}
@@
-594,7
+594,7
@@
public class GitMonitor : Monitor
cmd = new GitMonitorQueue(src);
cmd.action = "commit";
cmd.message = cmd.vname;
cmd = new GitMonitorQueue(src);
cmd.action = "commit";
cmd.message = cmd.vname;
- this.queue.a
ppend_val
(cmd);
+ this.queue.a
dd
(cmd);
}
}
@@
-620,7
+620,7
@@
public class GitMonitor : Monitor
cmd.message = cmd.vname;
cmd.commit_all = true;
cmd.message = cmd.vname;
cmd.commit_all = true;
- this.queue.a
ppend_val
(cmd);
+ this.queue.a
dd
(cmd);
}
public override void onCreated(MonitorNamePathDir src) {
}
public override void onCreated(MonitorNamePathDir src) {
@@
-676,7
+676,7
@@
public class GitMonitor : Monitor
cmd = new GitMonitorQueue(src);
cmd.action = "commit";
cmd.message = "Attribute changed " + cmd.vname;
cmd = new GitMonitorQueue(src);
cmd.action = "commit";
cmd.message = "Attribute changed " + cmd.vname;
- this.queue.a
ppend_val
(cmd);
+ this.queue.a
dd
(cmd);
}
public override void onMoved(MonitorNamePathDir src,MonitorNamePathDir dest)
}
public override void onMoved(MonitorNamePathDir src,MonitorNamePathDir dest)
@@
-730,7
+730,7
@@
public class GitMonitor : Monitor
cmd.message = cmd_d.vname;
}
cmd.message = cmd_d.vname;
}
- this.queue.a
ppend_val
(cmd);
+ this.queue.a
dd
(cmd);