X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=GitRepo.vala;h=4ce43e5744d7124ca445122ec4a9a5613e1c5203;hp=5fbdb0dc91e89c948f16d2638b50f9bab796c126;hb=059157afad5e2225565bb482a3ea3cec307964c0;hpb=3c5d48d4190436f7d03474749ef1bac1eab44152 diff --git a/GitRepo.vala b/GitRepo.vala index 5fbdb0dc..4ce43e57 100644 --- a/GitRepo.vala +++ b/GitRepo.vala @@ -193,9 +193,8 @@ public class GitRepo : Object public bool is_managed() { // is it a roojs origin? - var r = this.git({ "remote" , "get-url" , "--push" , "origin"}); - var uri = new Soup.URI(r); - if (uri.get_host() != "git.roojs.com") { // we can only push to this url. -- unless we have forced it to be managed. + + if (this.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..