author | Jeff King <peff@peff.net> | |
Sat, 10 Dec 2011 10:34:44 +0000 (05:34 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 13 Dec 2011 00:09:38 +0000 (16:09 -0800) | ||
commit | 71e1b4b6bf7f274f0b3bf45e7325c04abb405b8a | |
tree | 902302e51c4401b0519f431b4e424856d7778a82 | tree | snapshot |
parent | c505116b91d3c92f0c3066cb9806773d2df11088 | commit | diff |
credentials: add "store" helper
This is like "cache", except that we actually put the
credentials on disk. This can be terribly insecure, of
course, but we do what we can to protect them by filesystem
permissions, and we warn the user in the documentation.
This is not unlike using .netrc to store entries, but it's a
little more user-friendly. Instead of putting credentials in
place ahead of time, we transparently store them after
prompting the user for them once.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This is like "cache", except that we actually put the
credentials on disk. This can be terribly insecure, of
course, but we do what we can to protect them by filesystem
permissions, and we warn the user in the documentation.
This is not unlike using .netrc to store entries, but it's a
little more user-friendly. Instead of putting credentials in
place ahead of time, we transparently store them after
prompting the user for them once.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitignore | diff | blob | history | |
Documentation/git-credential-store.txt | [new file with mode: 0644] | blob |
Documentation/gitcredentials.txt | diff | blob | history | |
Makefile | diff | blob | history | |
credential-store.c | [new file with mode: 0644] | blob |
t/t0302-credential-store.sh | [new file with mode: 0755] | blob |