GitBranch.vala
authorAlan Knowles <alan@roojs.com>
Wed, 20 Mar 2019 06:48:28 +0000 (14:48 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 20 Mar 2019 06:48:28 +0000 (14:48 +0800)
GitBranch.vala

index 693f3c6..5427ae1 100644 (file)
@@ -36,6 +36,7 @@ public class GitBranch : Object
        public string remote = "";
        public string remoterev = "";
        public string age = "";
+       public bool is_head = false;
        
      
        
@@ -78,8 +79,8 @@ public class GitBranch : Object
                         
                        this.branches.add(br);
                        if (br.is_head()) {
-                               GLib.debug("HEAD= %s", br.get_name());
-                               this.head = br;
+                               //GLib.debug("HEAD= %s", br.get_name());
+                               //this.head = br;
                        }
                        
                }