Skip to content

Commit

Permalink
add some allowed GIT_ env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
mattp- committed Oct 27, 2022
1 parent 7ac2dbe commit a2b9833
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pre_commit/git.py
Expand Up @@ -43,6 +43,7 @@ def no_git_env(_env: Mapping[str, str] | None = None) -> dict[str, str]:
'GIT_SSL_NO_VERIFY', 'GIT_CONFIG_COUNT',
'GIT_HTTP_PROXY_AUTHMETHOD',
'GIT_ALLOW_PROTOCOL',
'SSH_ASKPASS', 'GIT_ASKPASS', 'GIT_USERNAME', 'GIT_PASSWORD',
}
}

Expand Down

0 comments on commit a2b9833

Please sign in to comment.