projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f6e97ec
)
GitRepo.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 19 Dec 2018 03:51:33 +0000
(11:51 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 19 Dec 2018 03:51:33 +0000
(11:51 +0800)
GitRepo.vala
patch
|
blob
|
history
diff --git
a/GitRepo.vala
b/GitRepo.vala
index
35df2bb
..
f4a12d1
100644
(file)
--- a/
GitRepo.vala
+++ b/
GitRepo.vala
@@
-171,6
+171,12
@@
public class GitRepo : Object
if ( !cache.has_key(path) ) {
cache.set( path, this);
}
if ( !cache.has_key(path) ) {
cache.set( path, this);
}
+
+ var r = this.git({ "remote" , "get-url" , "--push" , "origin"});
+ var uri = new Soup.URI(r);
+ this.host = uri.get_host();
+
+
this.loadBranches();
this.loadActiveTicket();
this.loadStatus();
this.loadBranches();
this.loadActiveTicket();
this.loadStatus();