mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 10:28:49 -07:00
Test for previous commit and never ignore entire repo directory
This commit is contained in:
parent
b5f652a815
commit
b3c2ffc96a
0
scanner/testdata/.foo/bar
vendored
Normal file
0
scanner/testdata/.foo/bar
vendored
Normal file
@ -160,7 +160,7 @@ func (w *Walker) walkAndHashFiles(res *[]File, ign map[string][]string) filepath
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if w.ignoreFile(ign, rn) {
|
if rn != "." && w.ignoreFile(ign, rn) {
|
||||||
if debug {
|
if debug {
|
||||||
dlog.Println("ignored:", rn)
|
dlog.Println("ignored:", rn)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user