commit_lock_file_to(): refactor a helper out of commit_lock_file()
[git] / prompt.h
1 #ifndef PROMPT_H
2 #define PROMPT_H
3
4 #define PROMPT_ASKPASS (1<<0)
5 #define PROMPT_ECHO    (1<<1)
6
7 char *git_prompt(const char *prompt, int flags);
8 char *git_getpass(const char *prompt);
9
10 #endif /* PROMPT_H */