Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-daemon: add tests
[gitweb.git]
/
prompt.h
diff --git
a/prompt.h
b/prompt.h
index 0fd7bd997a69115c47aa13c973fca6ac54450285..04f321a781d37af780b906c2a4564c08eea830c8 100644
(file)
--- a/
prompt.h
+++ b/
prompt.h
@@
-1,6
+1,10
@@
#ifndef PROMPT_H
#define PROMPT_H
+#define PROMPT_ASKPASS (1<<0)
+#define PROMPT_ECHO (1<<1)
+
+char *git_prompt(const char *prompt, int flags);
char *git_getpass(const char *prompt);
#endif /* PROMPT_H */