Revision 0ab8606ebb2dc89f23a6e844ce1d284f693912f9 authored by Junio C Hamano on 17 January 2017, 22:49:25 UTC, committed by Junio C Hamano on 17 January 2017, 22:49:25 UTC
Update the isatty() emulation for Windows by updating the previous
hack that depended on internals of (older) MSVC runtime.

* js/mingw-isatty:
  mingw: replace isatty() hack
  mingw: fix colourization on Cygwin pseudo terminals
  mingw: adjust is_console() to work with stdin
  mingw: intercept isatty() to handle /dev/null as Git expects it
2 parent s 9d1e8dd + a9b8a09
Raw File
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);

#endif /* PROMPT_H */
back to top