diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-01-14 15:40:48 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-01-15 11:02:06 -0800 |
commit | 0fb1df4af2a28bc95b26fbd9d4f172a461d88ef2 (patch) | |
tree | 5c2d38c2b5e9b5cdaea85d44d82169b5f3fdc712 | |
parent | http.c: make finish_active_slot() and handle_curl_result() static (diff) | |
download | tgif-0fb1df4af2a28bc95b26fbd9d4f172a461d88ef2.tar.xz |
prompt.c: remove git_getpass() nobody uses
This was whittled down to a compatibility wrapper around the more
flexible git_prompt() in 1cb0134f (refactor git_getpass into generic
prompt function, 2011-12-10), waiting for the final callers to go
away. That happened in 791643a8 (imap-send: use git-credential,
2014-04-28) when imap-send learned to use the credential interface.
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | prompt.c | 5 | ||||
-rw-r--r-- | prompt.h | 1 |
2 files changed, 0 insertions, 6 deletions
@@ -73,8 +73,3 @@ char *git_prompt(const char *prompt, int flags) } return r; } - -char *git_getpass(const char *prompt) -{ - return git_prompt(prompt, PROMPT_ASKPASS); -} @@ -5,6 +5,5 @@ #define PROMPT_ECHO (1<<1) char *git_prompt(const char *prompt, int flags); -char *git_getpass(const char *prompt); #endif /* PROMPT_H */ |