GitRepo.vala
authorAlan Knowles <alan@roojs.com>
Wed, 19 Dec 2018 03:49:41 +0000 (11:49 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 19 Dec 2018 03:49:41 +0000 (11:49 +0800)
GitRepo.vala

index f0cf4e6..7985e81 100644 (file)
@@ -220,6 +220,11 @@ public class GitRepo : Object
     
     public bool is_auto_branch ()
     {
+       if (this.name == "gitlog") {
+               return false;
+               }
+               // check remote...
+       
        return FileUtils.test(this.gitdir + "/.gitlive-enable-auto-branch" , FileTest.EXISTS);
     }