From cb33f27f23b51b334aa885ef94c4de369c0ae202 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Thu, 9 Jan 2014 23:00:42 +0100 Subject: [PATCH] Woops: reignore .stignore --- model/walk.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/model/walk.go b/model/walk.go index 7e60675c..5f0f5641 100644 --- a/model/walk.go +++ b/model/walk.go @@ -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)