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); -} diff --git a/prompt.h b/prompt.h index 04f321a781..e04cced030 100644 --- a/prompt.h +++ b/prompt.h @@ -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 */