Enable color output in Windows cmd.exe
commite7cae66140fe451f9e488aa1c4d9a8be99dd1cec
authorKarsten Blees <blees@dcon.de>
Sat, 31 Jul 2010 00:04:00 +0000 (31 00:04 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 17 Feb 2011 12:36:23 +0000 (17 13:36 +0100)
treecd57300c847877bf20cf39d4aae713791ab646b2
parent5905c9c5dcba86d482b69886fc576afec359d9e5
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