Skip to content

Commit

Permalink
Merge branch 'js/add-i-mingw' into maint
Browse files Browse the repository at this point in the history
* js/add-i-mingw:
  add--interactive: fix external command invocation on Windows
  • Loading branch information
Junio C Hamano committed Oct 17, 2013
2 parents f8aeacf + df17e77 commit fa0963d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-add--interactive.perl
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ sub colored {
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 ? "\"$_\"": $_ } @_;
Expand Down

0 comments on commit fa0963d

Please sign in to comment.