https://github.com/git/git
Raw File
Tip revision: 337b4d400023d22207bcc3c29e9ebab31bf96fc2 authored by Junio C Hamano on 31 May 2024, 00:06:24 UTC
Git 2.43.5
Tip revision: 337b4d4
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