We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b206bc commit 99a8eb3Copy full SHA for 99a8eb3
gix-path/src/env/git.rs
@@ -36,7 +36,7 @@ pub(super) static EXE_INFO: Lazy<Option<BString>> = Lazy::new(|| {
36
#[cfg(windows)]
37
Err(err) if err.kind() == std::io::ErrorKind::NotFound => {
38
let executable = ALTERNATIVE_LOCATIONS.iter().find_map(|prefix| {
39
- let candidate = Path::new(prefix).join(EXE_NAME);
+ let candidate = prefix.join(EXE_NAME);
40
candidate.is_file().then_some(candidate)
41
})?;
42
gix_trace::debug!(cmd = ?cmd, "invoking git for installation config path in alternate location");
0 commit comments