https://github.com/git/git
Raw File
Tip revision: 225365fb5195e804274ab569ac3cc4919451dc7f authored by Junio C Hamano on 26 February 2021, 00:34:59 UTC
Git 2.31-rc0
Tip revision: 225365f
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