Win32: enable color output in Windows cmd.exe
commitbaea068d677fae92d7903e984cf93bbd5195a000
authorKarsten Blees <blees@dcon.de>
Thu, 17 Jul 2014 15:38:06 +0000 (17 17:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 Jul 2014 16:32:50 +0000 (21 09:32 -0700)
treed5c31ff7b5119067f7359e65f204243a843c9a4e
parent6dc715439b8e9ec85d6412750665431dd6a5afc6
Win32: 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>
Signed-off-by: Stepan Kasal <kasal@ucw.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.c