t5550: fix typo in $HTTPD_URL
authorJeff King <peff@peff.net>
Thu, 28 Apr 2016 13:36:37 +0000 (09:36 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Apr 2016 17:47:34 +0000 (10:47 -0700)
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>
t/t5550-http-fetch-dumb.sh
index 48e2ab62da7a4293dd647524f75f3590783bcb02..81cc57f8be418b68471567790786ea2089d051cf 100755 (executable)
@@ -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
 '