Enable color output in Windows cmd.exe
commit5860fad896e8b2846ebcb73a08aa2510ed9af4f2
authorKarsten Blees <blees@dcon.de>
Sat, 31 Jul 2010 00:04:00 +0000 (31 00:04 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Sun, 24 Apr 2011 23:42:27 +0000 (25 00:42 +0100)
tree9ee714d3697198f5b41675e46b05274d9f91e931
parent364a83ca51207804e34b381c88b0ae02189032ca
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