diff options
author | Jeff King <peff@peff.net> | 2011-12-10 05:34:44 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-12 16:09:38 -0800 |
commit | 71e1b4b6bf7f274f0b3bf45e7325c04abb405b8a (patch) | |
tree | 902302e51c4401b0519f431b4e424856d7778a82 /Makefile | |
parent | c505116b91d3c92f0c3066cb9806773d2df11088 (diff) | |
download | git-71e1b4b6bf7f274f0b3bf45e7325c04abb405b8a.tar.gz git-71e1b4b6bf7f274f0b3bf45e7325c04abb405b8a.tar.xz |
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -429,6 +429,7 @@ PROGRAM_OBJS += show-index.o PROGRAM_OBJS += upload-pack.o PROGRAM_OBJS += http-backend.o PROGRAM_OBJS += sh-i18n--envsubst.o +PROGRAM_OBJS += credential-store.o PROGRAMS += $(patsubst %.o,git-%$X,$(PROGRAM_OBJS)) |