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.
1 parent 9eadfb9 commit 355196fCopy full SHA for 355196f
1 file changed
pre_commit/util.py
@@ -76,7 +76,6 @@ def no_git_env():
76
# while running pre-commit hooks in submodules.
77
# GIT_DIR: Causes git clone to clone wrong thing
78
# GIT_INDEX_FILE: Causes 'error invalid object ...' during commit
79
-
80
return {
81
k: v for k, v in os.environ.items()
82
if not k.startswith('GIT_') or k in {'GIT_SSH'}
0 commit comments