aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2008-06-04 00:16:26 +0200
committerJunio C Hamano <gitster@pobox.com>2008-06-03 22:12:08 -0700
commit70ca472f1f6745563b55cac9aa38bb58f83112ef (patch)
treeb1ec7c8ba2745a63c9acd198443d135f385af9f3
parenta3c91e088ead7c47f43efe8da625d190dcef1001 (diff)
downloadgit-70ca472f1f6745563b55cac9aa38bb58f83112ef.tar.gz
git-70ca472f1f6745563b55cac9aa38bb58f83112ef.tar.xz
Fix t5516 on cygwin: it does not like double slashes at the beginning of a path
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t5516-fetch-push.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5516-fetch-push.sh b/t/t5516-fetch-push.sh
index c5c59335f..6805032a0 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 &&