aboutsummaryrefslogtreecommitdiff
path: root/git-add--interactive.perl
diff options
context:
space:
mode:
authorMike Pape <dotzenlabs@gmail.com>2008-07-11 18:52:42 +0200
committerJunio C Hamano <gitster@pobox.com>2008-07-11 21:14:44 -0700
commitfdfd20080239c8564e40498bbaae63c1b87ccdba (patch)
tree1bd80e0be60dba5e25de32ebaedfadc4f4f23917 /git-add--interactive.perl
parentc4adea82c5064971ff6d090be8db89c44456186b (diff)
downloadgit-fdfd20080239c8564e40498bbaae63c1b87ccdba.tar.gz
git-fdfd20080239c8564e40498bbaae63c1b87ccdba.tar.xz
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>
Diffstat (limited to 'git-add--interactive.perl')
-rwxr-xr-xgit-add--interactive.perl2
1 files changed, 1 insertions, 1 deletions
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 ? "\"$_\"": $_ } @_;