threads / patch / 14411

patchWe need to check for msys as well as Windows in add--interactive.

Subject: [PATCH] We need to check for msys as well as Windows in add--interactive.

## tl;dr

One message between Jul 11, 2008 and Jul 11, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Steffen Prohaska· Jul 11, 2008, 16:52 UTC · lore
From: Mike Pape <dotzenlabs@gmail.com>
Signed-off-by: Mike Pape <dotzenlabs@gmail.com>
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
---
 git-add--interactive.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Nobody has commented on this patch, nor has it been applied.
Show changes to git-add--interactive.perl +1 −1
diff --git a/git-add--interactive.perl b/git-add--interactive.perl
index 903953e..78a64e6 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 ? "\"$_\"": $_ } @_;
-- 
1.5.6.1.282.gd8a0d

← back to recent threads