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

index b0d0d0c..7cd5177 100644 (file)
--- a/Git.vala
+++ b/Git.vala
@@ -95,8 +95,8 @@ namespace  GitLive {
                {
                        //GLib.debug("lookup %s:%s", remote_name, remote_branch_name);
                        foreach(var br in this.branches) {
-                               GLib.debug("test:%s=%s", "ref/remotes/" +  br.get_upstream().get_shorthand() , remote_branch_name);
-                               if ("ref/remotes/" +  br.get_upstream().get_shorthand() == remote_branch_name) {
+                               GLib.debug("test:%s=%s", "refs/remotes/" +  br.get_upstream().get_shorthand() , remote_branch_name);
+                               if ("refs/remotes/" +  br.get_upstream().get_shorthand() == remote_branch_name) {
                                        return br;
                                }