From: Paul Collins Date: Fri, 4 Nov 2005 14:57:16 +0000 (+0000) Subject: proxy-command support for git:// X-Git-Tag: v0.99.9k^2~34 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f801477645146fd7eff018b4997b86dfa1a0767d?hp=f801477645146fd7eff018b4997b86dfa1a0767d proxy-command support for git:// Here is an updated patch that first looks for GIT_PROXY_COMMAND in the environment and then git.proxycommand in the repository's configuration file. I have left the calling convention the same argv[1] is the host and argv[2] is the port. I've taken the hostname parsing verbatim from git_tcp_connect(), so it should now support an explicit port number and whatever that business with the square brackets is. (Should I move this to a helper function?) Regarding internal vs. external hosts, the proxy command can simply run netcat locally to internal hosts, so perhaps that is sufficient. Signed-off-by: Junio C Hamano ---