From c21cefbda764d61a20f57ec970f4272c4928700c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 13 Mar 2019 15:09:58 +0800 Subject: [PATCH] Git.vala --- Git.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Git.vala b/Git.vala index d7139c2e..56e58e02 100644 --- a/Git.vala +++ b/Git.vala @@ -96,7 +96,7 @@ namespace GitLive { //GLib.debug("lookup %s:%s", remote_name, remote_branch_name); foreach(var br in this.branches) { GLib.debug("test:%s=%s", remote_name + "/" + br.get_upstream().get_shorthand() , remote_branch_name); - if (remote_name + "/" + br.get_upstream().get_shorthand() == remote_branch_name) { + if ("ref/remotes/" + br.get_upstream().get_shorthand() == remote_branch_name) { return br; } -- 2.39.2