Test for previous commit and never ignore entire repo directory

This commit is contained in:
Jakob Borg committed 2014-03-09 12:36:26 +01:00
1 parent b5f652a815
commit b3c2ffc96a
2 files changed
+1 -1

No files matched your search

View File
Whitespace-only changes.
+1 -1
View File
@@ -160,7 +160,7 @@ func (w *Walker) walkAndHashFiles(res *[]File, ign map[string][]string) filepath
return nil
}
if w.ignoreFile(ign, rn) {
if rn != "." && w.ignoreFile(ign, rn) {
if debug {
dlog.Println("ignored:", rn)
}