diff options
-rw-r--r-- | git_command.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/git_command.py b/git_command.py index 0893bff7..63b7b6f2 100644 --- a/git_command.py +++ b/git_command.py | |||
@@ -168,6 +168,9 @@ class GitCommand(object): | |||
168 | if p is not None: | 168 | if p is not None: |
169 | s = p + ' ' + s | 169 | s = p + ' ' + s |
170 | _setenv(env, 'GIT_CONFIG_PARAMETERS', s) | 170 | _setenv(env, 'GIT_CONFIG_PARAMETERS', s) |
171 | if 'GIT_ALLOW_PROTOCOL' not in env: | ||
172 | _setenv(env, 'GIT_ALLOW_PROTOCOL', | ||
173 | 'file:git:http:https:ssh:persistent-http:persistent-https:sso') | ||
171 | 174 | ||
172 | if project: | 175 | if project: |
173 | if not cwd: | 176 | if not cwd: |