GitRepo.vala
[gitlive] / GitRepo.vala
index 1b0eaaf..4c1185f 100644 (file)
@@ -142,7 +142,10 @@ public class GitRepo : Object
     {
        return !FileUtils.test(this.gitdir + "/.gitlive-disable-autocommit" , FileTest.IS_DIR);
     }
-    
+    public bool is_autopush ()
+    {
+       return !FileUtils.test(this.gitdir + "/.gitlive-disable-autopush" , FileTest.IS_DIR);
+    }    
     /**
      * add:
      * add files to track.