https://github.com/git/git
Raw File
Tip revision: 5addd1c7531cc644787cd562a3c22a3b714c7d77 authored by Junio C Hamano on 15 July 2013, 17:39:43 UTC
Git 1.8.3.3
Tip revision: 5addd1c
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);
char *git_getpass(const char *prompt);

#endif /* PROMPT_H */
back to top