GitRepo.vala
authorAlan Knowles <alan@roojs.com>
Wed, 19 Dec 2018 03:45:45 +0000 (11:45 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 19 Dec 2018 03:45:45 +0000 (11:45 +0800)
GitRepo.vala

index 91feb4c..c3f7db8 100644 (file)
@@ -176,9 +176,9 @@ public class GitRepo : Object
        this.loadStatus();
     } 
     
-    public bool is_wip_branch()
+    public bool is_master_branch()
     {
-       return this.currentBranch.name.has_prefix("wip_");
+       return this.currentBranch.name == "master"
                
     }