Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2fa0fab + db04d61 commit 889124bCopy full SHA for 889124b
1 file changed
pre_commit/git.py
@@ -29,7 +29,7 @@ def no_git_env():
29
# GIT_INDEX_FILE: Causes 'error invalid object ...' during commit
30
return {
31
k: v for k, v in os.environ.items()
32
- if not k.startswith('GIT_') or k in {'GIT_SSH'}
+ if not k.startswith('GIT_') or k in {'GIT_SSH', 'GIT_SSH_COMMAND'}
33
}
34
35
0 commit comments