projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a0ab5a
)
Also ignore Emacs lock & recovery files.
author
Joe Kopena
<tjkopena@bellerophonmobile.com>
Mon, 3 Mar 2014 21:55:28 +0000
(16:55 -0500)
committer
spf13
<steve.francia@gmail.com>
Wed, 5 Mar 2014 03:07:40 +0000
(22:07 -0500)
source/filesystem.go
patch
|
blob
|
history
diff --git
a/source/filesystem.go
b/source/filesystem.go
index 96853c8ddca03c3afdf1109caf0379a902c2bd95..abec6ca6e332386542f47e7b5bf97b0a5b9d278d 100644
(file)
--- a/
source/filesystem.go
+++ b/
source/filesystem.go
@@
-122,6
+122,10
@@
func ignoreDotFile(filePath string) bool {
return true
}
+ if base[0] == '#' {
+ return true
+ }
+
if base[len(base)-1] == '~' {
return true
}