diff options
Diffstat (limited to 'git_command.py')
-rw-r--r-- | git_command.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git_command.py b/git_command.py index d56ad0a8..3309f378 100644 --- a/git_command.py +++ b/git_command.py | |||
@@ -30,7 +30,7 @@ LAST_CWD = None | |||
30 | _ssh_proxy_path = None | 30 | _ssh_proxy_path = None |
31 | _ssh_sock_path = None | 31 | _ssh_sock_path = None |
32 | 32 | ||
33 | def _ssh_sock(create=True): | 33 | def ssh_sock(create=True): |
34 | global _ssh_sock_path | 34 | global _ssh_sock_path |
35 | if _ssh_sock_path is None: | 35 | if _ssh_sock_path is None: |
36 | if not create: | 36 | if not create: |
@@ -119,7 +119,7 @@ class GitCommand(object): | |||
119 | if disable_editor: | 119 | if disable_editor: |
120 | env['GIT_EDITOR'] = ':' | 120 | env['GIT_EDITOR'] = ':' |
121 | if ssh_proxy: | 121 | if ssh_proxy: |
122 | env['REPO_SSH_SOCK'] = _ssh_sock() | 122 | env['REPO_SSH_SOCK'] = ssh_sock() |
123 | env['GIT_SSH'] = _ssh_proxy() | 123 | env['GIT_SSH'] = _ssh_proxy() |
124 | 124 | ||
125 | if project: | 125 | if project: |