https://github.com/git/git
Raw File
Tip revision: f2eed22852b0a21556f0c9f56732913eba553e62 authored by Johannes Schindelin on 23 June 2022, 10:35:49 UTC
Git 2.34.4
Tip revision: f2eed22
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