diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2018-10-30 11:40:07 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-31 12:46:32 +0900 |
commit | 0e218f91c299b0bffa281d3449884a824819a201 (patch) | |
tree | ab2bc76bbd5926e1cd296881a8a7f72da97b84d4 /t/t2105-update-index-gitfile.sh | |
parent | config: move Windows-specific config settings into compat/mingw.c (diff) | |
download | tgif-0e218f91c299b0bffa281d3449884a824819a201.tar.xz |
mingw: unset PERL5LIB by default
Git for Windows ships with its own Perl interpreter, and insists on
using it, so it will most likely wreak havoc if PERL5LIB is set before
launching Git.
Let's just unset that environment variables when spawning processes.
To make this feature extensible (and overrideable), there is a new
config setting `core.unsetenvvars` that allows specifying a
comma-separated list of names to unset before spawning processes.
Reported by Gabriel Fuhrmann.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2105-update-index-gitfile.sh')
0 files changed, 0 insertions, 0 deletions