threads / patch / 16694

patchFix t7606 on Cygwin: for some reasont it does not recognize a "." in PATH

Subject: [PATCH] Fix t7606 on Cygwin: for some reasont it does not recognize a "." in PATH

## tl;dr

2 messages between Dec 12, 2008 and Dec 12, 2008. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Alex Riesen· Dec 12, 2008, 12:29 UTC · lore
The test uses the dot to add custom merge strategies
---
 t/t7606-merge-custom.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
From 928b2b955bd2ef0e400de698c0c0bcde5e64638b Mon Sep 17 00:00:00 2001
From: Alex Riesen <raa.lkml@gmail.com>
Date: Mon, 29 Sep 2008 17:07:00 +0200
Subject: [PATCH] Fix t7606 on Cygwin: for some reasont it does not recognize a "." in PATH
The test uses the dot to add custom merge strategies
---
 t/t7606-merge-custom.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to t/t7606-merge-custom.sh +1 −1
diff --git a/t/t7606-merge-custom.sh b/t/t7606-merge-custom.sh
index 52a451d..20c0907 100755
--- a/t/t7606-merge-custom.sh
+++ b/t/t7606-merge-custom.sh
@@ -11,7 +11,7 @@ cat >git-merge-theirs <<EOF
 eval git read-tree --reset -u \\\$\$#
 EOF
 chmod +x git-merge-theirs
-PATH=.:$PATH
+PATH=$(pwd):"$PATH"
 export PATH
 
 test_expect_success 'setup' '
-- 
1.6.1.rc2.48.g3c7df
Stefan Näwe· Dec 12, 2008, 14:01 UTC · re: Alex Riesen · lore

Re: [PATCH] Fix t7606 on Cygwin: for some reasont it does not recognize a "." in PATH

Alex Riesen <raa.lkml <at> gmail.com> writes:
Show 7 quoted lines
> 
> The test uses the dot to add custom merge strategies
> ---
>  t/t7606-merge-custom.sh |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> Attachment (0001-Fix-t7606-on-Cygwin-it-does-not-recognize-a-.-in.patch): 
application/octet-stream, 759 bytes
Any special reason why you sent this as an (normally frowned-upon) attachment ?

For me, however, this would be the way to go to be able to download the patch without any hassle. (see my other post).

Regards,
  Stefan

← back to recent threads