Enable color output in Windows cmd.exe
commitc451720c9cff7775000b6ec30e733d6f823b2a59
authorKarsten Blees <blees@dcon.de>
Sat, 31 Jul 2010 00:04:00 +0000 (31 00:04 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 5 Jan 2012 20:13:57 +0000 (5 14:13 -0600)
treefcef623571c45661d6b81500832eb37b3542bc5b
parenta1d0343c082070878151d6b95b5a50a8c55ec5f8
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