{
// managed =
if (this.get_config("managed") == "") {
- this.set_config("managed", this.host != "git.roojs.com" ? "1" : "0");
+ this.set_config("managed", this.host == "git.roojs.com" ? "1" : "0");
+ }
+ if (this.get_config("autocommit") == "") {
+ this.set_config("autocommit", this.host == "git.roojs.com" ? "1" : "0");
}
-
}
public bool is_autocommit ()
{
+
return !FileUtils.test(this.gitdir + "/.gitlive-disable-autocommit" , FileTest.EXISTS);
}
public void set_autocommit(bool val)