Re-enable .ignore files, closes #156

This commit is contained in:
sharkdp 2018-10-27 15:42:02 +02:00
parent 974802e817
commit 6ff58abb6c

View file

@ -72,7 +72,7 @@ pub fn scan(path_vec: &[PathBuf], pattern: Arc<Regex>, config: Arc<FdOptions>) {
let mut walker = WalkBuilder::new(first_path_buf.as_path());
walker
.hidden(config.ignore_hidden)
.ignore(false)
.ignore(true)
.parents(config.read_fdignore || config.read_vcsignore)
.git_ignore(config.read_vcsignore)
.git_global(config.read_vcsignore)