+ public void init_config()
+ {
+ // managed =
+ if (this.get_config("managed") == "") {
+ 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 string get_config(string key) {
+ return this.git({ "config" , "gitlive." + key });
+ }
+ public string set_config(string key, string value) {
+ return this.git({ "config" , "gitlive." + key, value });
+ }