mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
backs out unnecessary blank line
This commit is contained in:
parent
9eadfb92fd
commit
355196f92e
1 changed files with 0 additions and 1 deletions
|
|
@ -76,7 +76,6 @@ def no_git_env():
|
|||
# while running pre-commit hooks in submodules.
|
||||
# GIT_DIR: Causes git clone to clone wrong thing
|
||||
# GIT_INDEX_FILE: Causes 'error invalid object ...' during commit
|
||||
|
||||
return {
|
||||
k: v for k, v in os.environ.items()
|
||||
if not k.startswith('GIT_') or k in {'GIT_SSH'}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue