https://github.com/git/git
Raw File
Tip revision: d5b41391a472dcf9486055fd5b8517f893e88daf authored by Taylor Blau on 06 October 2022, 00:24:38 UTC
Git 2.38.1
Tip revision: d5b4139
prompt.h
#ifndef PROMPT_H
#define PROMPT_H

#define PROMPT_ASKPASS (1<<0)
#define PROMPT_ECHO    (1<<1)

char *git_prompt(const char *prompt, int flags);

int git_read_line_interactively(struct strbuf *line);

#endif /* PROMPT_H */
back to top