From: Alan Knowles Date: Wed, 19 Dec 2018 03:45:45 +0000 (+0800) Subject: GitRepo.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=0095ab0651921671199b0b9e2647504296609261 GitRepo.vala --- diff --git a/GitRepo.vala b/GitRepo.vala index 91feb4c8..c3f7db8b 100644 --- a/GitRepo.vala +++ b/GitRepo.vala @@ -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" }