|
|
@@ -111,6 +111,13 @@ impl<'dir, 'ig> Files<'dir, 'ig> {
|
|
|
continue;
|
|
|
}
|
|
|
|
|
|
+ // Also hide _prefix files on Windows because it's used by old applications
|
|
|
+ // as an alternative to dot-prefix files.
|
|
|
+ #[cfg(windows)]
|
|
|
+ if ! self.dotfiles && filename.starts_with('_') {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+
|
|
|
if self.git_ignoring {
|
|
|
let git_status = self.git.map(|g| g.get(path, false)).unwrap_or_default();
|
|
|
if git_status.unstaged == GitStatus::Ignored {
|