https://github.com/git/git
Raw File
Tip revision: c48035d29b4e524aed3a32f0403676f0d9128863 authored by Junio C Hamano on 12 December 2022, 00:59:08 UTC
Git 2.39
Tip revision: c48035d
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