diff options
author | Michael J Gruber <git@drmicha.warpmail.net> | 2011-10-14 09:40:39 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-10-15 21:18:20 -0700 |
commit | 070b4dd5899927cb399b8ae9d75cad1fce537429 (patch) | |
tree | fef08b6e069e10a2176e38ab6ff9d81dbbc482b5 /t/t5550-http-fetch.sh | |
parent | 8d677edc4fa3fd1fe12b49bf279aaad5be89b81c (diff) | |
download | git-070b4dd5899927cb399b8ae9d75cad1fce537429.tar.gz |
http: use hostname in credential description
Until now, a request for an http password looked like:
Username:
Password:
Now it will look like:
Username for 'example.com':
Password for 'example.com':
Picked-from: Jeff King <peff@peff.net>
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5550-http-fetch.sh')
-rwxr-xr-x | t/t5550-http-fetch.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t5550-http-fetch.sh b/t/t5550-http-fetch.sh index ed4db09bed..d1ab4d0e4c 100755 --- a/t/t5550-http-fetch.sh +++ b/t/t5550-http-fetch.sh @@ -51,8 +51,8 @@ test_expect_success 'setup askpass helpers' ' GIT_ASKPASS="$PWD/askpass" && export GIT_ASKPASS && >askpass-expect-none && - echo "askpass: Password: " >askpass-expect-pass && - { echo "askpass: Username: " && + echo "askpass: Password for '\''$HTTPD_DEST'\'': " >askpass-expect-pass && + { echo "askpass: Username for '\''$HTTPD_DEST'\'': " && cat askpass-expect-pass } >askpass-expect-both ' |