X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Git.vala;h=c0d218b7078fa8a2bd4884c71a43d5fa3613bfae;hb=63aa75590ff673a5f177309a2c9a8bbb6f10450e;hp=af4208c25731997228f625aad8499d85ab5808f0;hpb=65f75c26b72bcbd8cafd30be1f7d53742fc67bf5;p=gitlive diff --git a/Git.vala b/Git.vala index af4208c2..c0d218b7 100644 --- a/Git.vala +++ b/Git.vala @@ -95,7 +95,7 @@ namespace GitLive { { GLib.debug("lookup %s", remote_name); foreach(var br in this.branches) { - if (br.get_upstream().get_short_name() == remote_name) { + if ("ref/heads/" + br.get_upstream().get_shorthand() == remote_name) { return br; }