projects
/
gitlive
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GitRepo.vala
[gitlive]
/
GitRepo.vala
diff --git
a/GitRepo.vala
b/GitRepo.vala
index
5fbdb0d
..
4ce43e5
100644
(file)
--- a/
GitRepo.vala
+++ b/
GitRepo.vala
@@
-193,9
+193,8
@@
public class GitRepo : Object
public bool is_managed()
{
// is it a roojs origin?
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..
return FileUtils.test(this.gitdir + "/.gitlive-managed" , FileTest.EXISTS);
}
// otherwise see if unmanaged is set to disable it..