pass GIT_SSH_COMMAND to git commands, refs #947

This commit is contained in:
Benjamin Bariteau
2019-02-15 14:37:53 -08:00
parent 2fa0fabb05
commit db04d612e0

View File

@@ -29,7 +29,7 @@ def no_git_env():
# 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'}
if not k.startswith('GIT_') or k in {'GIT_SSH', 'GIT_SSH_COMMAND'}
}