We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f87322e commit 0899c2eCopy full SHA for 0899c2e
tests/tools/src/lib.rs
@@ -590,13 +590,16 @@ fn configure_command<'a>(
590
script_result_directory: &Path,
591
) -> &'a mut std::process::Command {
592
let never_path = if cfg!(windows) { "-" } else { ":" };
593
+ let mut msys_for_git_bash_on_windows = std::env::var("MSYS").unwrap_or_default();
594
+ msys_for_git_bash_on_windows.push_str(" winsymlinks:nativestrict");
595
cmd.args(args)
596
.stdout(std::process::Stdio::piped())
597
.stderr(std::process::Stdio::piped())
598
.current_dir(script_result_directory)
599
.env_remove("GIT_DIR")
600
.env_remove("GIT_ASKPASS")
601
.env_remove("SSH_ASKPASS")
602
+ .env("MSYS", msys_for_git_bash_on_windows)
603
.env("GIT_CONFIG_SYSTEM", never_path)
604
.env("GIT_CONFIG_GLOBAL", never_path)
605
.env("GIT_TERMINAL_PROMPT", "false")
0 commit comments