Add folder marker (fixes #762)

This commit is contained in:
Audrius Butkevicius
2014-10-11 16:55:11 +01:00
parent baf4cc225e
commit 838670ccbc
13 changed files with 196 additions and 16 deletions

View File

@@ -113,7 +113,7 @@ func (w *Walker) walkAndHashFiles(fchan chan protocol.FileInfo) filepath.WalkFun
return nil
}
if sn := filepath.Base(rn); sn == ".stignore" || sn == ".stversions" || w.Ignores.Match(rn) {
if sn := filepath.Base(rn); sn == ".stignore" || sn == ".stversions" || sn == ".stfolder" || w.Ignores.Match(rn) {
// An ignored file
if debug {
l.Debugln("ignored:", rn)