}
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);
{
return !FileUtils.test(this.gitdir + "/.gitlive-disable-autocommit" , FileTest.EXISTS);
}
+
+ public bool is_auto_branch ()
+ {
+ return FileUtils.test(this.gitdir + "/.gitlive-enable-auto-branch" , FileTest.EXISTS);
+ }
public bool is_autopush ()
{
return !FileUtils.test(this.gitdir + "/.gitlive-disable-autopush" , FileTest.EXISTS);