History

Comment Git version compatibility for EXE_INFO

Eliah Kagan committed 2 years ago

Commit 9df57aa1 parent 1cfe5771 file · +1 −0Browse files

Unified · Split

gix-path/src/env/git/mod.rs+1−0
@@ -89,6 +89,7 @@ pub(super) static EXE_INFO: Lazy<Option<BString>> = Lazy::new(|| { · 88 unmodified lines
8989 const CREATE_NO_WINDOW: u32 = 0x08000000;
9090 cmd.creation_flags(CREATE_NO_WINDOW);
9191 }
92+ // git 2.8.0 and higher support --show-origin.
9293 cmd.args(["config", "-l", "--show-origin"])
9394 .current_dir(env::temp_dir())
9495 .stdin(Stdio::null())