Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/add-i-mingw' into maint
author
Junio C Hamano
<gitster@pobox.com>
Thu, 17 Oct 2013 22:45:56 +0000
(15:45 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 17 Oct 2013 22:45:56 +0000
(15:45 -0700)
* js/add-i-mingw:
add--interactive: fix external command invocation on Windows
git-add--interactive.perl
patch
|
blob
|
history
raw
(from parent 1:
f8aeacf
)
diff --git
a/git-add--interactive.perl
b/git-add--interactive.perl
index 75a991f7ec8a2e4926cb925ad9ff23be2f6aedeb..51563840f49089cf250992fd47fe70a45cef0c52 100755
(executable)
--- a/
git-add--interactive.perl
+++ b/
git-add--interactive.perl
@@
-169,7
+169,7
@@
sub colored {
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 ? "\"$_\"": $_ } @_;