Enable color output in Windows cmd.exe
commitf6ccac59cd08190d1f0fc2e4dffd00abff8a811f
authorKarsten Blees <blees@dcon.de>
Sat, 31 Jul 2010 00:04:00 +0000 (31 00:04 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 14 Feb 2012 20:00:22 +0000 (14 14:00 -0600)
tree616507df81d2d1dab5bc1cf552498b9cd896c92d
parentf7966b753490253837bab7c22cdd4b36d6677cde
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