X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=GitRepo.vala;fp=GitRepo.vala;h=a4d1bfd32af4e6a3b8f439ce7bbeec4bec80cf81;hp=e3a72949b2fa92c9e0ca3da6607011039efc7e21;hb=598dfc61d9f21814b275dee8411daae74d10680f;hpb=83e4dfaa742af40cb780b0d198236c44e89c4507 diff --git a/GitRepo.vala b/GitRepo.vala index e3a72949..a4d1bfd3 100644 --- a/GitRepo.vala +++ b/GitRepo.vala @@ -218,12 +218,12 @@ public class GitRepo : Object this.repo = Ggit.Repository.open(GLib.File.new_for_path(path)); - //var r = this.repo.lookup_remote("origin"); + var r = this.repo.lookup_remote("origin"); //var r = this.git({ "remote" , "get-url" , "--push" , "origin"}); - //var uri = new Soup.URI(r.get_url()); - //this.host = uri.get_host(); + var uri = new Soup.URI(r.get_url()); + this.host = uri.get_host(); this.init_config(); this.loadBranches();