Skip to content

Commit 9bfc90a

Browse files
committed
ignore: undo earlier filtering
1 parent cae4b46 commit 9bfc90a

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

crates/ignore/src/walk.rs

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1666,15 +1666,11 @@ impl<'s> Worker<'s> {
16661666
}
16671667
let should_skip_filesize =
16681668
if self.max_filesize.is_some() && !dent.is_dir() {
1669-
if cfg!(windows) && is_online_only(&dent) {
1670-
false
1671-
} else {
1672-
skip_filesize(
1673-
self.max_filesize.unwrap(),
1674-
dent.path(),
1675-
&dent.metadata().ok(),
1676-
)
1677-
}
1669+
skip_filesize(
1670+
self.max_filesize.unwrap(),
1671+
dent.path(),
1672+
&dent.metadata().ok(),
1673+
)
16781674
} else {
16791675
false
16801676
};

0 commit comments

Comments
 (0)