projects
/
platform
/
upstream
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.21.1
[platform/upstream/git.git]
/
prompt.c
diff --git
a/prompt.c
b/prompt.c
index
8181eeb
..
6d5885d
100644
(file)
--- a/
prompt.c
+++ b/
prompt.c
@@
-1,4
+1,5
@@
#include "cache.h"
+#include "config.h"
#include "run-command.h"
#include "strbuf.h"
#include "prompt.h"
@@
-73,8
+74,3
@@
char *git_prompt(const char *prompt, int flags)
}
return r;
}
-
-char *git_getpass(const char *prompt)
-{
- return git_prompt(prompt, PROMPT_ASKPASS);
-}