diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-03-09 23:34:25 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-10 22:35:31 -0700 |
commit | c33976cbc6d1895fca5c1683fba678e786ee3e58 (patch) | |
tree | d2a3ad2dcdec4bc91b3488dcd26f7e3d47c30020 /date.c | |
parent | 7059cd99fc671f9594b61cee7d10d69704f3ebe2 (diff) | |
download | git-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 'date.c')
0 files changed, 0 insertions, 0 deletions