projects
/
gitlive
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GitMonitorQueue.vala
[gitlive]
/
GitMonitorQueue.vala
diff --git
a/GitMonitorQueue.vala
b/GitMonitorQueue.vala
index
1af6eca
..
561aa66
100644
(file)
--- a/
GitMonitorQueue.vala
+++ b/
GitMonitorQueue.vala
@@
-44,11
+44,12
@@
public class GitMonitorQueue : MonitorNamePathDir {
this.repo = GitRepo.get(this.gitpath);
// trigger the suggestion to start a new branch
this.repo = GitRepo.get(this.gitpath);
// trigger the suggestion to start a new branch
-
-
NewBranch
.show(this.repo);
-
+ if (!this.shouldIgnore() && !this.repo.currentBranch.name.has_prefix("wip_")) {
+
NewBranch.singleton()
.show(this.repo);
+ }
}
}
+
public bool shouldIgnore()
{
public bool shouldIgnore()
{