1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-12 17:36:08 +02:00
git/prompt.h
Junio C Hamano 0fb1df4af2 prompt.c: remove git_getpass() nobody uses
This was whittled down to a compatibility wrapper around the more
flexible git_prompt() in 1cb0134f (refactor git_getpass into generic
prompt function, 2011-12-10), waiting for the final callers to go
away.  That happened in 791643a8 (imap-send: use git-credential,
2014-04-28) when imap-send learned to use the credential interface.

Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2015-01-15 11:02:06 -08:00

10 lines
168 B
C

#ifndef PROMPT_H
#define PROMPT_H
#define PROMPT_ASKPASS (1<<0)
#define PROMPT_ECHO (1<<1)
char *git_prompt(const char *prompt, int flags);
#endif /* PROMPT_H */