GitMonitor.vala
authorAlan Knowles <alan@roojs.com>
Mon, 1 Jun 2015 03:29:04 +0000 (11:29 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 1 Jun 2015 03:29:04 +0000 (11:29 +0800)
GitMonitor.vala

index 20311eb..f7efdd2 100644 (file)
@@ -73,10 +73,13 @@ public class GitMonitorQueue : MonitorNamePathDir {
                        if (this.name[this.name.length -1] == '~') {
                                return true;
                        }
-
-                       //if (f.name.match(/~$/)) {
-                       //    return true;
-                       //}
+                       
+                       if (f.name.match(/___jb_old___$/)) {
+                           return true;
+                       }
+                       if (f.name.match(/___jb_bak___$/)) {
+                           return true;
+                       }
                        //if (f.name.match(/^nbproject/)) {
                        //    return true;
                        //}