|
Subject: Simple proxy test (was Re: What's in master tonight) Newsgroups: gmane.comp.version-control.git Date: 2005-11-20 14:28:38 GMT (3 years, 1 week, 6 days, 19 hours and 9 minutes ago) Junio C Hamano wrote: >proxy for git:// transport: > > I do not have any pending issues on this patch, and I > think it is ready to go in when somebody, preferably > other than the original author, says it is useful and > does not break things. > I tested the proxy code from a place when the git:// port is blocked. 1) I made a ssh socks tunel (ssh -D 2080 a-remote-server). 2) I compiled connect.c from http://zippo.taiyo.co.jp/~gotoh/ssh/connect.html 3) I created a simple script called myproxy: #!/bin/sh /path/to/connect -S localhost:2080 $@ 4) GIT_PROXY_COMMAND=/path/to/myproxy cg-clone git://git.kernel.org/pub/scm/git/git.git git2 worked perfectly 4bis) % cat .git/config [core] gitproxy = /path/to/myproxy for kernel.org cg update worked perfectly. --yas |
|
|