https://github.com/git/git
Raw File
Tip revision: 34d5217584ee4722d0c0b07ed6c8f1f01ad157c3 authored by Junio C Hamano on 28 May 2014, 22:50:22 UTC
Git 1.9.4
Tip revision: 34d5217
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