mirror of
https://github.com/git/git.git
synced 2026-02-04 15:04:45 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user