Skip to content

Rename to GIT_HIGHEST_SCOPE_CONFIG_PATH #1569

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gix-path/src/env/git/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub(super) const EXE_NAME: &str = "git";
/// Invoke the git executable to obtain the origin configuration, which is cached and returned.
///
/// The git executable is the one found in PATH or an alternative location.
pub(super) static GIT_HIGHEST_PRIORITY_CONFIG_PATH: Lazy<Option<BString>> = Lazy::new(exe_info);
pub(super) static GIT_HIGHEST_SCOPE_CONFIG_PATH: Lazy<Option<BString>> = Lazy::new(exe_info);

#[cfg(windows)]
const NULL_DEVICE: &str = "NUL";
Expand Down Expand Up @@ -171,7 +171,7 @@ pub(super) fn install_config_path() -> Option<&'static BStr> {
exec_path.push("gitconfig");
return crate::os_string_into_bstring(exec_path.into()).ok();
}
GIT_HIGHEST_PRIORITY_CONFIG_PATH.clone()
GIT_HIGHEST_SCOPE_CONFIG_PATH.clone()
});
PATH.as_ref().map(AsRef::as_ref)
}
Expand Down
Loading