summaryrefslogtreecommitdiffstats
path: root/git_command.py
diff options
context:
space:
mode:
Diffstat (limited to 'git_command.py')
-rw-r--r--git_command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git_command.py b/git_command.py
index 634058f9..9bed799e 100644
--- a/git_command.py
+++ b/git_command.py
@@ -148,7 +148,7 @@ class GitCommand(object):
148 _setenv(env, 'REPO_SSH_SOCK', ssh_sock()) 148 _setenv(env, 'REPO_SSH_SOCK', ssh_sock())
149 _setenv(env, 'GIT_SSH', _ssh_proxy()) 149 _setenv(env, 'GIT_SSH', _ssh_proxy())
150 if 'http_proxy' in env and 'darwin' == sys.platform: 150 if 'http_proxy' in env and 'darwin' == sys.platform:
151 s = 'http.proxy=' + env['http_proxy'] 151 s = "'http.proxy=%s'" % (env['http_proxy'],)
152 p = env.get('GIT_CONFIG_PARAMETERS') 152 p = env.get('GIT_CONFIG_PARAMETERS')
153 if p is not None: 153 if p is not None:
154 s = p + ' ' + s 154 s = p + ' ' + s