This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

install: add GIT_EXEC_PATH to git env whitelist

Fixes: #13353
PR-URL: #13358
Credit: @mhart
Reviewed-By: @othiym23
  • Loading branch information...
mhart authored and iarna committed Jul 12, 2016
1 parent e2d7e78 commit e7fa6c6a2c1de2a214479daa8c6901eebb350381
Showing with 2 additions and 0 deletions.
  1. +1 −0 doc/cli/npm-install.md
  2. +1 −0 lib/cache/add-remote-git.js
View
@@ -183,6 +183,7 @@ after packing it up into a tarball (b).
to the environment when running git:
* `GIT_ASKPASS`
* `GIT_EXEC_PATH`
* `GIT_PROXY_COMMAND`
* `GIT_SSH`
* `GIT_SSH_COMMAND`
@@ -26,6 +26,7 @@ var templates = path.join(remotes, '_templates')
var VALID_VARIABLES = [
'GIT_ASKPASS',
'GIT_EXEC_PATH',
'GIT_PROXY_COMMAND',
'GIT_SSH',
'GIT_SSH_COMMAND',

0 comments on commit e7fa6c6

Please sign in to comment.