git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* core.gitproxy and non-git protocols
@ 2007-08-02  5:21 David Symonds
  2007-08-02  5:31 ` Shawn O. Pearce
  2007-08-04  0:33 ` Jakub Narebski
  0 siblings, 2 replies; 5+ messages in thread
From: David Symonds @ 2007-08-02  5:21 UTC (permalink / raw)
  To: git

Hi,

The part of the git-config documentation that covers core. gitproxy is
incorrect: you can't use the core.gitproxy setting to use a proxy
command for ssh://, nor to create your own faux-protocols. In the
git_connect function (connect.c), it only references git_proxy_connect
(and thus the core.gitproxy setting) if (protocol == PROTO_GIT).

I have a situation where I'd like to push to a remote git repository
on a machine that is a little weird to access, so I need two different
types of ssh'ing to reach it depending on my location. That is easily
scriptable, which is how I did it with SVN (ended up with a
svn+voltron:// protocol), but is not currently possible with git.

It'd be great if (a) the documentation could be fixed, or (b) the
proxy-picking code could be at least extended to ssh:// protocols, and
preferrably extended to defining custom protocols.

Thanks,

Dave.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-08-04  5:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-02  5:21 core.gitproxy and non-git protocols David Symonds
2007-08-02  5:31 ` Shawn O. Pearce
2007-08-04  0:34   ` Jakub Narebski
2007-08-04  5:43     ` Shawn O. Pearce
2007-08-04  0:33 ` Jakub Narebski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).