author | Jeff King <peff@peff.net> | |
Sat, 10 Dec 2011 10:41:23 +0000 (05:41 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 13 Dec 2011 00:09:39 +0000 (16:09 -0800) | ||
commit | ce77aa4813c8a3980283c0a1e760f51f3a405154 | |
tree | 96568c1061bcc651bcd7a6a03f281b2cca72882e | tree | snapshot |
parent | a50902590e703878e888fd8a33ec5a22d5347481 | commit | diff |
credential: use git_prompt instead of git_getpass
We use git_getpass to retrieve the username and password
from the terminal. However, git_getpass will not echo the
username as the user types. We can fix this by using the
more generic git_prompt, which underlies git_getpass but
lets us specify an "echo" option.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
We use git_getpass to retrieve the username and password
from the terminal. However, git_getpass will not echo the
username as the user types. We can fix this by using the
more generic git_prompt, which underlies git_getpass but
lets us specify an "echo" option.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
credential.c | diff | blob | history |