https://github.com/git/git
Raw File
Tip revision: fd59c5bdeeb50f18e86f36cbf7a0b82554621690 authored by Johannes Schindelin on 23 June 2022, 10:36:14 UTC
Git 2.36.2
Tip revision: fd59c5b
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