Enable color output in Windows cmd.exe
commit3a42321a9fd40d645a563262c7a1754e3b239b90
authorKarsten Blees <blees@dcon.de>
Sat, 31 Jul 2010 00:04:00 +0000 (31 00:04 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 1 Oct 2010 22:27:43 +0000 (1 23:27 +0100)
tree466ee0d6af352e4b106326fc1e8c6239d0df2000
parenta6f8722d049d9a7291b665a85f0eae4f1772125b
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