public bool is_master_branch()
{
+ // special branches that do not allow autopushing now...
return this.currentBranch.name == "master" || this.currentBranch.name == "roojs";
}
public bool is_autocommit ()
- {
+ {
return !FileUtils.test(this.gitdir + "/.gitlive-disable-autocommit" , FileTest.EXISTS);
}
public void set_autocommit(bool val)
public bool is_auto_branch ()
{
+ if (this.name == "gitlog") {
+ return false;
+ }
+ // check remote...
+
return FileUtils.test(this.gitdir + "/.gitlive-enable-auto-branch" , FileTest.EXISTS);
}