Fix Linux search issues (#13479)

In some rare cases, we wouldn't pick up .gitignore files in the right
order, causing performance issues for the project search and the file
finder

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki 2024-06-24 13:46:21 -07:00 committed by GitHub
parent ed94bd41eb
commit df11b646da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 13 deletions

View file

@ -1,6 +1,7 @@
use ignore::gitignore::Gitignore;
use std::{ffi::OsStr, path::Path, sync::Arc};
#[derive(Debug)]
pub enum IgnoreStack {
None,
Some {