Also ignore Emacs lock & recovery files.
authorJoe Kopena <tjkopena@bellerophonmobile.com>
Mon, 3 Mar 2014 21:55:28 +0000 (16:55 -0500)
committerspf13 <steve.francia@gmail.com>
Wed, 5 Mar 2014 03:07:40 +0000 (22:07 -0500)
source/filesystem.go

index 96853c8ddca03c3afdf1109caf0379a902c2bd95..abec6ca6e332386542f47e7b5bf97b0a5b9d278d 100644 (file)
@@ -122,6 +122,10 @@ func ignoreDotFile(filePath string) bool {
                return true
        }
 
+       if base[0] == '#' {
+               return true
+       }
+
        if base[len(base)-1] == '~' {
                return true
        }