Skip to content

Commit

Permalink
Fixes #43.
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntSushi committed Sep 24, 2016
1 parent a3fc4cd commit 155676b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/ignore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,10 +362,6 @@ impl Overrides {
/// Match::None (and interpreting non-matches as ignored) unless is_dir
/// is true.
pub fn matched<P: AsRef<Path>>(&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| {
Expand Down

0 comments on commit 155676b

Please sign in to comment.