author | Jeff King <peff@peff.net> | |
Sat, 10 Dec 2011 10:41:08 +0000 (05:41 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 13 Dec 2011 00:09:38 +0000 (16:09 -0800) | ||
commit | a50902590e703878e888fd8a33ec5a22d5347481 | |
tree | d62c8a7f6e43495c4e9e667adb6d6cf094162143 | tree | snapshot |
parent | 21aeafceda2382d26bfa73a98ba45a937d65d77a | commit | diff |
prompt: use git_terminal_prompt
Our custom implementation of git_terminal_prompt has many
advantages over regular getpass(), as described in the prior
commit.
This also lets us implement a PROMPT_ECHO flag for callers
who want it.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Our custom implementation of git_terminal_prompt has many
advantages over regular getpass(), as described in the prior
commit.
This also lets us implement a PROMPT_ECHO flag for callers
who want it.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
prompt.c | diff | blob | history | |
prompt.h | diff | blob | history |