From 059157afad5e2225565bb482a3ea3cec307964c0 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 19 Dec 2018 11:52:10 +0800 Subject: [PATCH] GitRepo.vala --- GitRepo.vala | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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.. -- 2.39.2