GitBranch.vala
authorAlan Knowles <alan@roojs.com>
Tue, 30 Oct 2018 07:39:07 +0000 (15:39 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 30 Oct 2018 07:39:07 +0000 (15:39 +0800)
GitBranch.vala

index 947d53c..483c9fc 100644 (file)
@@ -36,9 +36,12 @@ public class GitBranch : Object
                } else {
                        this.name = parts[0];
                }
-        
+           return true;
+       }
+       function realName()
+       {
+               return this.name = "" ? this.remote : this.name;
        }
-       
 }
        
        
\ No newline at end of file