Enable color output in Windows cmd.exe
commit4a68eb5f3fc62090fbbc4fdb16b0d100a341ab55
authorKarsten Blees <blees@dcon.de>
Sat, 31 Jul 2010 00:04:00 +0000 (31 00:04 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 3 May 2012 15:32:48 +0000 (3 10:32 -0500)
tree09ed9d715dc479ab22234ac6634489e3adf6345d
parent902f99d2b37d65a336dfd6d7cea719737a8a4f16
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