Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
install: add GIT_EXEC_PATH to git env whitelist
Browse files Browse the repository at this point in the history
Fixes: #13353
PR-URL: #13358
Credit: @mhart
Reviewed-By: @othiym23
  • Loading branch information
mhart authored and iarna committed Aug 11, 2016
1 parent e2d7e78 commit e7fa6c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/cli/npm-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
1 change: 1 addition & 0 deletions lib/cache/add-remote-git.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit e7fa6c6

Please sign in to comment.