fixup! Special-case the MSYS2_TZ environment variable

It is no longer necessary, as Git for Windows' fork of the MSYS2
runtime knows to pass on POSIX-compliant timezones.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2016-01-26 16:53:20 +01:00
parent e82d9c7bed
commit 32d09cfdac

View File

@@ -2623,9 +2623,6 @@ static void setup_windows_environment()
*tmp = '/';
}
if (!getenv("TZ") && (tmp = getenv("MSYS2_TZ")))
setenv("TZ", tmp, 1);
/* simulate TERM to enable auto-color (see color.c) */
if (!getenv("TERM"))
setenv("TERM", "cygwin", 1);