this.repo = GitRepo.get(this.gitpath);
// trigger the suggestion to start a new branch
- if (!this.shouldIgnore() && !this.repo.currentBranch.name.has_prefix("wip_")) {
+ if (!this.shouldIgnore() && !this.repo.is_wip_branch()) {
NewBranch.singleton().show(this.repo);
}
}