Prepopulate ignore patterns (fixes #21)

This commit is contained in:
Jakob Borg
2014-01-09 22:46:01 +01:00
parent a18f6c6d90
commit b9af45bc6b
4 changed files with 51 additions and 50 deletions

View File

@@ -363,7 +363,7 @@ func connect(myID string, addr string, nodeAddrs map[string][]string, m *model.M
}
func updateLocalModel(m *model.Model) {
files := m.FilteredWalk(!opts.NoSymlinks)
files, _ := m.Walk(!opts.NoSymlinks)
m.ReplaceLocal(files)
saveIndex(m)
}