]> git.ipfire.org Git - thirdparty/git.git/commit - connect.c
git-proxy updates.
authorJunio C Hamano <junkio@cox.net>
Sat, 19 Nov 2005 11:48:56 +0000 (03:48 -0800)
committerJunio C Hamano <junkio@cox.net>
Mon, 21 Nov 2005 21:48:58 +0000 (13:48 -0800)
commite814bc4d159f62941fafe135c3008b3ff103444d
treeae80003b7dca5265e93dbbc85b0b1f3a3678ab0b
parentf801477645146fd7eff018b4997b86dfa1a0767d
git-proxy updates.

This builds on top of the git-proxy mechanism Paul Collins did,
and updates its configuration mechanism.

 * GIT_PROXY_COMMAND environment variable is used as the
   catch-all fallback, as in the original.  This has not
   changed.

 * Renames proxy configuration variables to core.gitproxy; this
   has become a multi-value variable per list discussion, most
   notably from suggestion by Linus.

[core]
;# matches www.kernel.org as well
gitproxy = netcatter for kernel.org
gitproxy = netscatter for sample.xz
gitproxy = none for mydomain.xz
gitproxy = netcatter-default

   The values are command names, followed by an optional " for "
   and domainname; the first tail-match of the domainname
   determines which proxy command is used.  An entry without "
   for " matches any domain and can be used as the default.

   The command name "none" is special -- it tells the mechanism
   not to use any proxy command and use the native git://
   connection.

Signed-off-by: Junio C Hamano <junkio@cox.net>
connect.c