Woops: reignore .stignore

This commit is contained in:
Jakob Borg 2014-01-09 23:00:42 +01:00
parent 92dee7c082
commit cb33f27f23
1 changed files with 5 additions and 0 deletions

View File

@ -92,6 +92,11 @@ func (m *Model) walkAndHashFiles(res *[]File, ign map[string][]string) filepath.
return nil
}
if _, sn := path.Split(rn); sn == ".stignore" {
// We never sync the .stignore files
return nil
}
if ignoreFile(ign, rn) {
if m.trace["file"] {
log.Println("FILE: IGNORE:", rn)