git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* url.<base>.insteadOf used for server-side redirection?
@ 2016-03-09  9:33 Paul Sokolovsky
  0 siblings, 0 replies; only message in thread
From: Paul Sokolovsky @ 2016-03-09  9:33 UTC (permalink / raw)
  To: git

Hello,

There's a nice git config directive url.insteadOf
(https://www.kernel.org/pub/software/scm/git/docs/git-config.html ,
search for "insteadOf"). However, than man doesn't make it explicit if
it can be used in server-side repository config, and all examples on
the net appear to be about its usage on user's local side.

So, is the remote use supported? Like a user issues a git clone with one
URL, but gets redirect to another URL and git client proceeds to clone
from it. Our usecase is to redirect git:// clones to http:// to
avoid some scalability issues.

If it's not supported, any chance it could be? Maybe it was discussed
and voted down? Or voted up and someone has it in their queue? Note
that the talk is about git-specific redirects, like redirecting one git
protocol to another.


Thanks,
Paul

Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-09  9:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-09  9:33 url.<base>.insteadOf used for server-side redirection? Paul Sokolovsky

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).