From 6ff58abb6c8275830439df0ef870cd590f11270e Mon Sep 17 00:00:00 2001 From: sharkdp Date: Sat, 27 Oct 2018 15:42:02 +0200 Subject: [PATCH] Re-enable .ignore files, closes #156 --- src/walk.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/walk.rs b/src/walk.rs index ab3da7f..ecd5283 100644 --- a/src/walk.rs +++ b/src/walk.rs @@ -72,7 +72,7 @@ pub fn scan(path_vec: &[PathBuf], pattern: Arc, config: Arc) { 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)