From e45a61c4a59eeb5b98e00c1523a8f241a7f4cf09 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 19 Dec 2018 11:51:33 +0800 Subject: [PATCH] GitRepo.vala --- GitRepo.vala | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/GitRepo.vala b/GitRepo.vala index 35df2bbe..f4a12d1b 100644 --- a/GitRepo.vala +++ b/GitRepo.vala @@ -171,6 +171,12 @@ public class GitRepo : Object 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(); -- 2.39.2