Skip to content

Commit

Permalink
We need to check for msys as well as Windows in add--interactive.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Pape authored and Junio C Hamano committed Jul 12, 2008
1 parent c4adea8 commit fdfd200
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 @@ -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 ? "\"$_\"": $_ } @_;
Expand Down

0 comments on commit fdfd200

Please sign in to comment.