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>
This commit is contained in:
Mike Pape 2008-07-11 18:52:42 +02:00 committed by Junio C Hamano
parent c4adea82c5
commit fdfd200802

View File

@ -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 ? "\"$_\"": $_ } @_;