From 355196f92ed46272f236b2f1e23ca0cf0d8be8bd Mon Sep 17 00:00:00 2001 From: Rory Prendergast Date: Tue, 2 Jan 2018 12:59:09 -0800 Subject: [PATCH] backs out unnecessary blank line --- pre_commit/util.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pre_commit/util.py b/pre_commit/util.py index 81cd3064..081adf27 100644 --- a/pre_commit/util.py +++ b/pre_commit/util.py @@ -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'}