From 155676b474cf1e5f11e9e32b1e4e1e5798850cff Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sat, 24 Sep 2016 16:34:34 -0400 Subject: [PATCH] Fixes #43. --- src/ignore.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ignore.rs b/src/ignore.rs index cdb6c996..6fec0eab 100644 --- a/src/ignore.rs +++ b/src/ignore.rs @@ -362,10 +362,6 @@ impl Overrides { /// Match::None (and interpreting non-matches as ignored) unless is_dir /// is true. pub fn matched>(&self, path: P, is_dir: bool) -> Match { - // File types don't apply to directories. - if is_dir { - return Match::None; - } let path = path.as_ref(); self.gi.as_ref() .map(|gi| {