GitMonitor.vala
authorAlan Knowles <alan@roojs.com>
Fri, 25 Aug 2017 05:34:49 +0000 (13:34 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 25 Aug 2017 05:34:49 +0000 (13:34 +0800)
GitMonitor.vala

index e2cc920..a3d0ad7 100644 (file)
@@ -58,7 +58,7 @@ public class GitMonitorQueue : MonitorNamePathDir {
                public bool shouldIgnore()
                {
                        
-                        
+                
                        // vim.. what a seriously brain dead program..
                        if (this.name == "4913") {
                                return true;
@@ -69,10 +69,13 @@ public class GitMonitorQueue : MonitorNamePathDir {
                                if (this.name == ".htaccess") {
                                        return false;
                                }
-                               
+                               if (this.name == ".gitignore") {
+                                       return false;
+                               }
                                return true;
                        }
                        
+                       
                        if (this.name[this.name.length -1] == '~') {
                                return true;
                        }
@@ -569,6 +572,7 @@ public class GitMonitor : Monitor
                                
                                if (/nothing to commit, working tree clean/.match(e.message)) {
                                        success += e.message;
+                                       this.paused = false; 
                                        continue;
                                }