X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=GitRepo.vala;h=e51d150385e785aff1147aaf85f43718688eed04;hb=fc7eb32429da35c28c1f4b33de16925d1af5ef78;hp=b460a903a163d00c6149017975370d2d34e729b2;hpb=7e5e00cd072a1763e31c6505560e5ce7f461f052;p=gitlive diff --git a/GitRepo.vala b/GitRepo.vala index b460a903..e51d1503 100644 --- a/GitRepo.vala +++ b/GitRepo.vala @@ -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 () {