diff options
author | Jeff Hostetler <jeffhost@microsoft.com> | 2016-12-22 18:09:23 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-12-22 09:58:46 -0800 |
commit | a9b8a09c3c30886c79133da9f48ef9f98c21c3b2 (patch) | |
tree | 311097d97a6b3ee6374ee3d582a4d5d317746e81 /compat/stat.c | |
parent | mingw: fix colourization on Cygwin pseudo terminals (diff) | |
download | tgif-a9b8a09c3c30886c79133da9f48ef9f98c21c3b2.tar.xz |
mingw: replace isatty() hack
Git for Windows has carried a patch that depended on internals
of MSVC runtime, but it does not work correctly with recent MSVC
runtime. A replacement was written originally for compiling
with VC++. The patch in this message is a backport of that
replacement, and it also fixes the previous attempt to make
isatty() tell that /dev/null is *not* an interactive terminal.
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Tested-by: Beat Bolli <dev+git@drbeat.li>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/stat.c')
0 files changed, 0 insertions, 0 deletions