Code

contrib/completion: "local var=()" is misinterpreted as func-decl by zsh
[git.git] / 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 */