Enable color output in Windows cmd.exe
commit4b222bd3a4d9428af0052e353bdf5adab235ee92
authorKarsten Blees <blees@dcon.de>
Sat, 31 Jul 2010 00:04:00 +0000 (31 00:04 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 1 Jun 2011 10:38:41 +0000 (1 12:38 +0200)
treedacbae87d21bb6fda587c375525820878d723875
parent7eb90ceb38068443654b67a5c9fe11fbcd528215
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