From 0095ab0651921671199b0b9e2647504296609261 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 19 Dec 2018 11:45:45 +0800 Subject: [PATCH] GitRepo.vala --- GitRepo.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" } -- 2.39.2