Skip to content

Commit

Permalink
Merge pull request #1254 from igankevich/master
Browse files Browse the repository at this point in the history
Add GIT_SSL_CAINFO environment variable to whitelist.
  • Loading branch information
asottile committed Dec 26, 2019
2 parents 40e0b2c + 8c93896 commit bf68512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pre_commit/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def no_git_env(_env=None):
return {
k: v for k, v in _env.items()
if not k.startswith('GIT_') or
k in {'GIT_EXEC_PATH', 'GIT_SSH', 'GIT_SSH_COMMAND'}
k in {'GIT_EXEC_PATH', 'GIT_SSH', 'GIT_SSH_COMMAND', 'GIT_SSL_CAINFO'}
}


Expand Down

0 comments on commit bf68512

Please sign in to comment.