From: Alan Knowles Date: Wed, 13 Mar 2019 07:07:18 +0000 (+0800) Subject: Git.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=e067f3f0f2b63464009bc47c43548c859d041a1c Git.vala --- diff --git a/Git.vala b/Git.vala index a3d6d622..7f4fb4a2 100644 --- a/Git.vala +++ b/Git.vala @@ -96,7 +96,7 @@ namespace GitLive { GLib.debug("lookup %s", remote_name); foreach(var br in this.branches) { GLib.debug("test:%s", br.get_upstream().get_shorthand()); - if ("ref/heads/" + br.get_upstream().get_shorthand() == remote_name) { + if ("ref/heads/" + remote_name + br.get_upstream().get_shorthand() == remote_name) { return br; }