GitRepo.vala
[gitlive] / GitRepo.vala
index fd202f8..59633f3 100644 (file)
@@ -213,14 +213,12 @@ public class GitRepo : Object
     public bool is_managed()
     {
        return this.get_config("managed") == "1";
-
     }
     
     
     public bool is_autocommit ()
     {          
-       
-       return !FileUtils.test(this.gitdir + "/.gitlive-disable-autocommit" , FileTest.EXISTS);
+       return this.get_config("autocommit") == "1";            
     }
     public void set_autocommit(bool val)
     {