On Wed, 2006-07-05 at 10:03 -0700, Linus Torvalds wrote:
> Hey, if you are willing to add some manual redirection to your gitweb
> setup, you could _probably_ do something like the appended..
>
> (This is totally untested, but you get the idea - teach gitweb to export
> a "git_redirect" file at the top of the repo name, and teach "git fetch"
> to look if that exists and use another repo if so)
That'll turn this URL:
http://git.infradead.org/?p=users/dwmw2/killconfig.h.git
into
http://git.infradead.org/?p=users/dwmw2/killconfig.h.git/git_redirect
It's going to be easier to do the gitweb side if we change it to append
';a=git_redirect' instead. In fact, we could probably make the
conditional on the URL containing a ?p= argument which makes it
(reasonably) obvious that it's a gitweb URL, and _replace_ any 'a='
argument in the URL rather than just appending it naïvely.
I'll play with that later this evening.
--
dwmw2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]