зеркало из https://github.com/microsoft/git.git
Merge branch 'js/add-i-mingw'
The implementation of "add -i" has a crippling code to work around ActiveState Perl limitation but it by mistake also triggered on Git for Windows where MSYS perl is used. * js/add-i-mingw: add--interactive: fix external command invocation on Windows
This commit is contained in:
Коммит
ac4d29550f
|
@ -169,7 +169,7 @@ my %patch_modes = (
|
|||
my %patch_mode_flavour = %{$patch_modes{stage}};
|
||||
|
||||
sub run_cmd_pipe {
|
||||
if ($^O eq 'MSWin32' || $^O eq 'msys') {
|
||||
if ($^O eq 'MSWin32') {
|
||||
my @invalid = grep {m/[":*]/} @_;
|
||||
die "$^O does not support: @invalid\n" if @invalid;
|
||||
my @args = map { m/ /o ? "\"$_\"": $_ } @_;
|
||||
|
|
Загрузка…
Ссылка в новой задаче