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): gitdir = project.gitdir command = [GIT] + if 'http_proxy' in env and 'darwin' == sys.platform: + command.extend(['-c', 'http.proxy=' + env['http_proxy']]) if bare: if gitdir: _setenv(env, GIT_DIR, gitdir)