From f69f345737a3c3a88221471cb58750ab71574a12 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 1 Jun 2015 11:30:55 +0800 Subject: [PATCH] GitMonitor.vala --- GitMonitor.vala | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/GitMonitor.vala b/GitMonitor.vala index f7efdd29..f5e6fc7c 100644 --- a/GitMonitor.vala +++ b/GitMonitor.vala @@ -70,14 +70,16 @@ public class GitMonitorQueue : MonitorNamePathDir { return true; } + if (this.name[this.name.length -1] == '~') { return true; } + // netbeans / android studio.. silly temp files.. - if (f.name.match(/___jb_old___$/)) { + if (Regex.match_simple("___jb_old___$", this.name)) { return true; } - if (f.name.match(/___jb_bak___$/)) { + if (Regex.match_simple("___jb_bak___$", this.name)) { return true; } //if (f.name.match(/^nbproject/)) { -- 2.39.2