git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] We need to check for msys as well as Windows in add--interactive.
@ 2008-07-11 16:52 Steffen Prohaska
  0 siblings, 0 replies; only message in thread
From: Steffen Prohaska @ 2008-07-11 16:52 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, Mike Pape, Steffen Prohaska

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.

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-11 17:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-11 16:52 [PATCH] We need to check for msys as well as Windows in add--interactive Steffen Prohaska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).