From 32d09cfdacf2c3a60df815cef68626762c586404 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Tue, 26 Jan 2016 16:53:20 +0100 Subject: [PATCH] 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 --- compat/mingw.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/compat/mingw.c b/compat/mingw.c index 833aa5cec3..a58ea5760f 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -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);