Skip to content

Commit

Permalink
Fixes BurntSushi#43.
Browse files Browse the repository at this point in the history
  • Loading branch information
amsharma91 committed Sep 20, 2016
1 parent 88ed846 commit a8d3403
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 a8d3403

Please sign in to comment.