From fe09376a1c5563e0d5e0b08b713816332e479d30 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 1 Nov 2018 21:30:34 +0800 Subject: [PATCH] GitMonitorQueue.vala --- GitMonitorQueue.vala | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/GitMonitorQueue.vala b/GitMonitorQueue.vala index 7d40d542..c4cf9d98 100644 --- 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 - - NewBranch.signleton().show(this.repo); - + if (!this.shouldIgnore()) { + NewBranch.singleton().show(this.repo); + } } + public bool shouldIgnore() { -- 2.39.2