GitRepo.vala
[gitlive] / GitRepo.vala
index 7985e81..35df2bb 100644 (file)
@@ -224,8 +224,12 @@ public class GitRepo : Object
                return false;
                }
                // check remote...
+       if (this.is_managed()) {
+               return true;
+               }
+       return false;
        
-       return FileUtils.test(this.gitdir + "/.gitlive-enable-auto-branch" , FileTest.EXISTS);
     }
     
     public void set_auto_branch(bool val)