aboutsummaryrefslogtreecommitdiff
path: root/transport.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-03-09 23:34:25 -0700
committerJunio C Hamano <gitster@pobox.com>2009-03-10 22:35:31 -0700
commitc33976cbc6d1895fca5c1683fba678e786ee3e58 (patch)
treed2a3ad2dcdec4bc91b3488dcd26f7e3d47c30020 /transport.c
parent7059cd99fc671f9594b61cee7d10d69704f3ebe2 (diff)
downloadgit-c33976cbc6d1895fca5c1683fba678e786ee3e58.tar.gz
git-c33976cbc6d1895fca5c1683fba678e786ee3e58.tar.xz
http authentication via prompts
Curl is designed not to ask for password when only username is given in the URL, but has a way for application to feed a (username, password) pair to it. With this patch, you do not have to keep your password in plaintext in your $HOME/.netrc file when talking with a password protected URL with http://<username>@<host>/path/to/repository.git/ syntax. The code handles only the http-walker side, not the push side. At least, not yet. But interested parties can add support for it. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.c')
0 files changed, 0 insertions, 0 deletions