Git.vala
authorAlan Knowles <alan@roojs.com>
Wed, 13 Mar 2019 07:07:55 +0000 (15:07 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 13 Mar 2019 07:07:55 +0000 (15:07 +0800)
Git.vala

index 74cfb6c..2aabd96 100644 (file)
--- 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", br.get_upstream().get_shorthand());
-                               if ("ref/heads/" + remote_name +  br.get_upstream().get_shorthand() == remote_branch_name) {
+                               if ("ref/heads/" + remote_name + "/" +  br.get_upstream().get_shorthand() == remote_branch_name) {
                                        return br;
                                }