| 999 | } |
| 1000 | |
| 1001 | static int git_use_proxy(const char *host) |
| 1002 | { |
| 1003 | git_proxy_command = getenv("GIT_PROXY_COMMAND"); |
| 1004 | repo_config(the_repository, git_proxy_command_options, (void*)host); |
| 1005 | return (git_proxy_command && *git_proxy_command); |
| 1006 | } |
| 1007 | |
| 1008 | static struct child_process *git_proxy_connect(int fd[2], char *host) |
| 1009 | { |
no test coverage detected