+
+ public void set_auto_branch(bool val)
+ {
+
+ var cur = this.is_auto_branch();
+ GLib.debug("SET auto branch : %s <= %s", val ? "ON" : "OFF", cur ? "ON" : "OFF");
+
+ if (cur == val) {
+ return; // no change..
+ }
+ if (val) {
+ FileUtils.set_contents(this.gitdir + "/.gitlive-enable-auto-branch" , "x");
+ } else {
+ // it exists...
+ FileUtils.remove(this.gitdir + "/.gitlive-enable-auto-branch" );
+ }
+
+ }