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.
2 parents 12251eb + 6b1c243 commit 83c9de0Copy full SHA for 83c9de0
gix-path/src/env/git/mod.rs
@@ -1,3 +1,4 @@
1
+use std::env;
2
use std::path::{Path, PathBuf};
3
use std::process::{Command, Stdio};
4
@@ -89,6 +90,7 @@ pub(super) static EXE_INFO: Lazy<Option<BString>> = Lazy::new(|| {
89
90
cmd.creation_flags(CREATE_NO_WINDOW);
91
}
92
cmd.args(["config", "-l", "--show-origin"])
93
+ .current_dir(env::temp_dir())
94
.stdin(Stdio::null())
95
.stderr(Stdio::null());
96
cmd
0 commit comments