http: use hostname in credential description
authorMichael J Gruber <git@drmicha.warpmail.net>
Fri, 14 Oct 2011 07:40:39 +0000 (09:40 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 16 Oct 2011 04:18:20 +0000 (21:18 -0700)
commit070b4dd5899927cb399b8ae9d75cad1fce537429
treefef08b6e069e10a2176e38ab6ff9d81dbbc482b5
parent8d677edc4fa3fd1fe12b49bf279aaad5be89b81c
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>
http.c
t/t5550-http-fetch.sh