From: Mike Pape Date: Fri, 11 Jul 2008 16:52:42 +0000 (+0200) Subject: We need to check for msys as well as Windows in add--interactive. X-Git-Tag: v1.6.0-rc0~53^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fdfd20080239c8564e40498bbaae63c1b87ccdba;p=git.git We need to check for msys as well as Windows in add--interactive. Signed-off-by: Mike Pape Signed-off-by: Steffen Prohaska Signed-off-by: Junio C Hamano --- diff --git a/git-add--interactive.perl b/git-add--interactive.perl index 903953e68..78a64e6e8 100755 --- a/git-add--interactive.perl +++ b/git-add--interactive.perl @@ -42,7 +42,7 @@ sub colored { my $patch_mode; sub run_cmd_pipe { - if ($^O eq 'MSWin32') { + if ($^O eq 'MSWin32' || $^O eq 'msys') { my @invalid = grep {m/[":*]/} @_; die "$^O does not support: @invalid\n" if @invalid; my @args = map { m/ /o ? "\"$_\"": $_ } @_;