ref: e53bc948a5932805be4b0d29f1d809f7d5938cab
parent: 0becad727a7bda39c4a7df2553b2f7f0939233d1
	author: Ask Bjørn Hansen <ask@develooper.com>
	date: Thu Feb 27 16:26:17 EST 2014
	
Ignore content files ending in ~ Also add *~ to .gitignore
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
*.swp
*.swo
.DS_Store
+*~
--- a/source/filesystem.go
+++ b/source/filesystem.go
@@ -117,5 +117,14 @@
}
 func ignoreDotFile(filePath string) bool {- return filepath.Base(filePath)[0] == '.'
+ base := filepath.Base(filePath)
+	if base[0] == '.' {+ return true
+ }
+
+	if base[len(base)-1] == '~' {+ return true
+ }
+
+ return false
}
--
⑨