Win32: patch Windows environment on startup
authorKarsten Blees <redacted>
Thu, 17 Jul 2014 15:38:05 +0000 (17:38 +0200)
committerJunio C Hamano <redacted>
Mon, 21 Jul 2014 16:32:50 +0000 (09:32 -0700)
commit6dc715439b8e9ec85d6412750665431dd6a5afc6
treeb8584c68e2419454c2ea4944da3b38b177255389
parent343ff06da7d83f40892b10a3b653c7d0e6cb526c
Win32: patch Windows environment on startup

Fix Windows specific environment settings on startup rather than checking
for special values on every getenv call.

As a side effect, this makes the patched environment (i.e. with properly
initialized TMPDIR and TERM) available to child processes.

Signed-off-by: Karsten Blees <redacted>
Signed-off-by: Stepan Kasal <redacted>
Signed-off-by: Junio C Hamano <redacted>
compat/mingw.c
git clone https://git.99rst.org/PROJECT