From fdfd20080239c8564e40498bbaae63c1b87ccdba Mon Sep 17 00:00:00 2001 From: Mike Pape Date: Fri, 11 Jul 2008 18:52:42 +0200 Subject: [PATCH] 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 --- git-add--interactive.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ? "\"$_\"": $_ } @_; -- 2.26.2