Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit ac4d295

Browse files
committed
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
2 parents 34022ba + df17e77 commit ac4d295

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-add--interactive.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ sub colored {
169169
my %patch_mode_flavour = %{$patch_modes{stage}};
170170

171171
sub run_cmd_pipe {
172-
if ($^O eq 'MSWin32' || $^O eq 'msys') {
172+
if ($^O eq 'MSWin32') {
173173
my @invalid = grep {m/[":*]/} @_;
174174
die "$^O does not support: @invalid\n" if @invalid;
175175
my @args = map { m/ /o ? "\"$_\"": $_ } @_;

0 commit comments

Comments
 (0)