author | Jeff King <peff@peff.net> | |
Sat, 10 Dec 2011 10:34:14 +0000 (05:34 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 12 Dec 2011 07:16:25 +0000 (23:16 -0800) | ||
commit | e2770979fec968a25ac21e34f9082bc17a71a780 | |
tree | 5ae5a950fec8c52cab6a0ee21f48d0912bafcafd | tree | snapshot |
parent | a6fc9fd3f4b42cd97b5262026e18bd451c28ee3c | commit | diff |
credentials: add "cache" helper
If you access repositories over smart-http using http
authentication, then it can be annoying to have git ask you
for your password repeatedly. We cache credentials in
memory, of course, but git is composed of many small
programs. Having to input your password for each one can be
frustrating.
This patch introduces a credential helper that will cache
passwords in memory for a short period of time.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If you access repositories over smart-http using http
authentication, then it can be annoying to have git ask you
for your password repeatedly. We cache credentials in
memory, of course, but git is composed of many small
programs. Having to input your password for each one can be
frustrating.
This patch introduces a credential helper that will cache
passwords in memory for a short period of time.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
12 files changed:
.gitignore | diff | blob | history | |
Documentation/git-credential-cache--daemon.txt | [new file with mode: 0644] | blob |
Documentation/git-credential-cache.txt | [new file with mode: 0644] | blob |
Documentation/gitcredentials.txt | diff | blob | history | |
Makefile | diff | blob | history | |
credential-cache--daemon.c | [new file with mode: 0644] | blob |
credential-cache.c | [new file with mode: 0644] | blob |
git-compat-util.h | diff | blob | history | |
t/lib-credential.sh | diff | blob | history | |
t/t0301-credential-cache.sh | [new file with mode: 0755] | blob |
unix-socket.c | [new file with mode: 0644] | blob |
unix-socket.h | [new file with mode: 0644] | blob |