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

index d877551..e53afeb 100644 (file)
@@ -34,8 +34,8 @@ public class GitBranch : Object
                if (parts[0].has_prefix("remotes/")) {
                        this.remote = parts[0];
                } else {
-                       this.name = ""
-                       
+                       this.name = parts[0];
+               }
        
        
        }
\ No newline at end of file