* [PATCH] Fix t5516 on cygwin: it does not like double slashes at the beginning of a path
@ 2008-06-03 22:16 Alex Riesen
0 siblings, 0 replies; only message in thread
From: Alex Riesen @ 2008-06-03 22:16 UTC (permalink / raw)
To: git; +Cc: Junio C Hamano
The double slashes "//" result from url./$TRASH/. expansion and the
current directory, which even in cygwin contains "/" as first
character. In cygwin such strings have special meaning: UNC path.
Accessing an UNC path built for test purpose usually fails.
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
---
t/t5516-fetch-push.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/t5516-fetch-push.sh b/t/t5516-fetch-push.sh
index c5c5933..6805032 100755
--- a/t/t5516-fetch-push.sh
+++ b/t/t5516-fetch-push.sh
@@ -146,7 +146,7 @@ test_expect_success 'push with wildcard' '
test_expect_success 'push with insteadOf' '
mk_empty &&
TRASH="$(pwd)/" &&
- git config "url./$TRASH/.insteadOf" trash/ &&
+ git config "url.$TRASH.insteadOf" trash/ &&
git push trash/testrepo refs/heads/master:refs/remotes/origin/master &&
(
cd testrepo &&
--
1.5.6.rc0.112.g62868
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-03 22:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-03 22:16 [PATCH] Fix t5516 on cygwin: it does not like double slashes at the beginning of a path Alex Riesen
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).