summaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2018-10-30 18:40:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-10-31 03:46:32 (GMT)
commit0e218f91c299b0bffa281d3449884a824819a201 (patch)
treeab2bc76bbd5926e1cd296881a8a7f72da97b84d4 /environment.c
parentbdfbb0ea932d1ec479474cc7928ec9d47ea89e7b (diff)
downloadgit-0e218f91c299b0bffa281d3449884a824819a201.zip
git-0e218f91c299b0bffa281d3449884a824819a201.tar.gz
git-0e218f91c299b0bffa281d3449884a824819a201.tar.bz2
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 'environment.c')
0 files changed, 0 insertions, 0 deletions