Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-01-15 02:40:48 +0300
committerJunio C Hamano <gitster@pobox.com>2015-01-15 22:02:06 +0300
commit0fb1df4af2a28bc95b26fbd9d4f172a461d88ef2 (patch)
tree5c2d38c2b5e9b5cdaea85d44d82169b5f3fdc712 /prompt.c
parentb90a3d7b3275fdb23184dce7afc2aaeaaafb8886 (diff)
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>
Diffstat (limited to 'prompt.c')
-rw-r--r--prompt.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/prompt.c b/prompt.c
index 8181eebbfc..75406390c6 100644
--- a/prompt.c
+++ b/prompt.c
@@ -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);
-}