From e067f3f0f2b63464009bc47c43548c859d041a1c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 13 Mar 2019 15:07:18 +0800 Subject: [PATCH] Git.vala --- Git.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2