GitRepo.vala
authorAlan Knowles <alan@roojs.com>
Fri, 14 Dec 2018 04:06:40 +0000 (12:06 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Dec 2018 04:06:40 +0000 (12:06 +0800)
GitRepo.vala

index d7b6f85..35e88fa 100644 (file)
@@ -190,6 +190,7 @@ public class GitRepo : Object
        if (uri.get_host() != "git.roojs.com") { // we can only push to this url. -- unless we have forced it to be managed.
                return FileUtils.test(this.gitdir + "/.gitlive-managed" , FileTest.EXISTS);
        }
+       // otherwise see if unmanaged is set to disable it..
        return !FileUtils.test(this.gitdir + "/.gitlive-unmanaged" , FileTest.EXISTS);  
 
     }