summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-04-28 09:36:37 -0400
committerJunio C Hamano <gitster@pobox.com>2016-04-28 10:47:34 -0700
commit1149ee214e6b9e2450f817a808f74e4e761e7295 (patch)
tree90d39d097a7a4c2f24f21cdc73845281fd0b10d2
parentd1f884986d4bdea6b2d5f424ef7d2ca441070a61 (diff)
downloadgit-1149ee214e6b9e2450f817a808f74e4e761e7295.tar.gz
t5550: fix typo in $HTTPD_URL
Commit 14111fc (git: submodule honor -c credential.* from command line, 2016-02-29) accidentally wrote $HTTP_URL. It happened to work because we ended up with "credential..helper", which we treat the same as "credential.helper", applying it to all URLs. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t5550-http-fetch-dumb.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5550-http-fetch-dumb.sh b/t/t5550-http-fetch-dumb.sh
index 48e2ab62da..81cc57f8be 100755
--- a/t/t5550-http-fetch-dumb.sh
+++ b/t/t5550-http-fetch-dumb.sh
@@ -103,7 +103,7 @@ test_expect_success 'cmdline credential config passes into submodules' '
test_must_fail git clone --recursive super super-clone &&
rm -rf super-clone &&
set_askpass wrong pass@host &&
- git -c "credential.$HTTP_URL.username=user@host" \
+ git -c "credential.$HTTPD_URL.username=user@host" \
clone --recursive super super-clone &&
expect_askpass pass user@host
'