GitMonitor.vala
[gitlive] / GitRepo.vala
index b460a90..e51d150 100644 (file)
@@ -169,6 +169,11 @@ public class GitRepo : Object
        this.loadBranches();
     } 
     
+    public bool is_wip_branch()
+    {
+       return this.currentBranch.name.has_prefix("wip_")
+               
+    }
     
     public bool is_autocommit ()
     {