credentials: add "cache" helper
authorJeff King <peff@peff.net>
Mon, 18 Jul 2011 07:55:12 +0000 (03:55 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Aug 2011 22:25:12 +0000 (15:25 -0700)
commit2d6874d83a71b330e51475fd2f6dafedcfeecb44
tree5728c80425e833da08d11723f9ea8ae2ceaab884
parentb0c3e61f4d53b59dbf48f76ed730fc4d4c004cc6
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>
.gitignore
Documentation/git-credential-cache--daemon.txt [new file with mode: 0644]
Documentation/git-credential-cache.txt [new file with mode: 0644]
Documentation/gitcredentials.txt
Makefile
credential-cache--daemon.c [new file with mode: 0644]
credential-cache.c [new file with mode: 0644]
git-compat-util.h
t/t0300-credentials.sh
unix-socket.c [new file with mode: 0644]
unix-socket.h [new file with mode: 0644]