return;
}
- // otherwise see if unmanaged is set to disable it..
- return !FileUtils.test(this.gitdir + "/.gitlive-unmanaged" , FileTest.EXISTS);
-
-
- if (val) {
- FileUtils.set_contents(this.gitdir + "/.gitlive-enable-auto-branch" , "x");
+
+ if (val) {
+ FileUtils.remove(this.gitdir + "/.gitlive-unmanaged" );
} else {
- // it exists...
- FileUtils.remove(this.gitdir + "/.gitlive-enable-auto-branch" );
+ FileUtils.set_contents(this.gitdir + "/.gitlive-unmanaged" , "x");
+
}
+
}
public bool is_autopush ()