File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -590,13 +590,16 @@ fn configure_command<'a>(
590
590
script_result_directory : & Path ,
591
591
) -> & ' a mut std:: process:: Command {
592
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" ) ;
593
595
cmd. args ( args)
594
596
. stdout ( std:: process:: Stdio :: piped ( ) )
595
597
. stderr ( std:: process:: Stdio :: piped ( ) )
596
598
. current_dir ( script_result_directory)
597
599
. env_remove ( "GIT_DIR" )
598
600
. env_remove ( "GIT_ASKPASS" )
599
601
. env_remove ( "SSH_ASKPASS" )
602
+ . env ( "MSYS" , msys_for_git_bash_on_windows)
600
603
. env ( "GIT_CONFIG_SYSTEM" , never_path)
601
604
. env ( "GIT_CONFIG_GLOBAL" , never_path)
602
605
. env ( "GIT_TERMINAL_PROMPT" , "false" )
You can’t perform that action at this time.
0 commit comments