Skip to content

Commit 8c93896

Browse files
author
Ivan Gankevich
committed
Add GIT_SSL_CAINFO environment variable to whitelist.
This commit fixes pre-commit#1253.
1 parent 40e0b2c commit 8c93896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pre_commit/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def no_git_env(_env=None):
3232
return {
3333
k: v for k, v in _env.items()
3434
if not k.startswith('GIT_') or
35-
k in {'GIT_EXEC_PATH', 'GIT_SSH', 'GIT_SSH_COMMAND'}
35+
k in {'GIT_EXEC_PATH', 'GIT_SSH', 'GIT_SSH_COMMAND', 'GIT_SSL_CAINFO'}
3636
}
3737

3838

0 commit comments

Comments
 (0)