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

2 messages from 2008-12-12 to 2008-12-12. Participants: Alex Riesen, Stefan Näwe.
Thread: https://gitlist.dev/t/16694

## Alex Riesen, 2008-12-12 12:29

Subject: [PATCH] Fix t7606 on Cygwin: for some reasont it does not recognize a "." in PATH
Message-ID: <81b0412b0812120428mc85ae84r260b722022dc3449@mail.gmail.com>
URL: https://gitlist.dev/e/81b0412b0812120428mc85ae84r260b722022dc3449%40mail.gmail.com

```
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(-)

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, 2008-12-12 14:01

Subject: Re: [PATCH] Fix t7606 on Cygwin: for some reasont it does not recognize a "." in PATH
Message-ID: <loom.20081212T135919-571@post.gmane.org>
URL: https://gitlist.dev/e/loom.20081212T135919-571%40post.gmane.org
In-Reply-To: <81b0412b0812120428mc85ae84r260b722022dc3449@mail.gmail.com>

```
Alex Riesen <raa.lkml <at> gmail.com> writes:

> 
> 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

```
