summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-10-17 15:45:56 -0700
committerJunio C Hamano <gitster@pobox.com>2013-10-17 15:45:56 -0700
commitfa0963dac7f67a162bd04ebed29a18412545f481 (patch)
tree13c04b2ce24a787996944dcba2f24c98bc9a394e
parentf8aeacfa1f1e7b1f2d7b0c5fbb7becbbc6248183 (diff)
parentdf17e77c0aacca35eaaac885fe70d97654c07d62 (diff)
downloadgit-fa0963dac7f67a162bd04ebed29a18412545f481.tar.gz
Merge branch 'js/add-i-mingw' into maint
* js/add-i-mingw: add--interactive: fix external command invocation on Windows
-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 75a991f7ec..51563840f4 100755
--- a/git-add--interactive.perl
+++ b/git-add--interactive.perl
@@ -169,7 +169,7 @@ my %patch_modes = (
my %patch_mode_flavour = %{$patch_modes{stage}};
sub run_cmd_pipe {
- if ($^O eq 'MSWin32' || $^O eq 'msys') {
+ if ($^O eq 'MSWin32') {
my @invalid = grep {m/[":*]/} @_;
die "$^O does not support: @invalid\n" if @invalid;
my @args = map { m/ /o ? "\"$_\"": $_ } @_;