diff options
Diffstat (limited to 'git_command.py')
-rw-r--r-- | git_command.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git_command.py b/git_command.py index aecda0e4..ea0053e3 100644 --- a/git_command.py +++ b/git_command.py | |||
@@ -155,6 +155,8 @@ class GitCommand(object): | |||
155 | gitdir = project.gitdir | 155 | gitdir = project.gitdir |
156 | 156 | ||
157 | command = [GIT] | 157 | command = [GIT] |
158 | if 'http_proxy' in env and 'darwin' == sys.platform: | ||
159 | command.extend(['-c', 'http.proxy=' + env['http_proxy']]) | ||
158 | if bare: | 160 | if bare: |
159 | if gitdir: | 161 | if gitdir: |
160 | _setenv(env, GIT_DIR, gitdir) | 162 | _setenv(env, GIT_DIR, gitdir) |