Enable color output in Windows cmd.exe
commit0c94a585a8845fcf154c2c26750e858f8cf2a234
authorKarsten Blees <blees@dcon.de>
Sat, 31 Jul 2010 00:04:00 +0000 (31 00:04 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 6 Dec 2011 00:17:00 +0000 (6 00:17 +0000)
treec3c9e7aa103be69090f2f27e9c583b0f11d659c6
parentcf9fe978e035ae10cc89e003a57a890050e9c6aa
Enable color output in Windows cmd.exe

Git requires the TERM environment variable to be set for all color*
settings. Simulate the TERM variable if it is not set (default on Windows).

Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
compat/mingw.c