This commit is contained in:
Cole Miller 2025-07-31 12:55:21 -04:00
parent a9a23251b7
commit 09372534cd
7 changed files with 2 additions and 21 deletions

View file

@ -517,6 +517,6 @@ pub fn global_gitignore_path() -> Option<PathBuf> {
pub fn global_gitignore_path() -> Option<PathBuf> {
static GLOBAL_GITIGNORE_PATH: OnceLock<Option<PathBuf>> = OnceLock::new();
GLOBAL_GITIGNORE_PATH
.get_or_init(|| ::ignore::gitignore::gitconfig_excludes_path())
.get_or_init(::ignore::gitignore::gitconfig_excludes_path)
.clone()
}