Skip to content

Commit fdfd200

Browse files
dotzengitster
authored andcommitted
We need to check for msys as well as Windows in add--interactive.
Signed-off-by: Mike Pape <dotzenlabs@gmail.com> Signed-off-by: Steffen Prohaska <prohaska@zib.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent c4adea8 commit fdfd200

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
@@ -42,7 +42,7 @@ sub colored {
4242
my $patch_mode;
4343

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

0 commit comments

Comments
 (0)