Re: What's up with the GIT archive on www.kernel.org?

Linus Torvalds
2005-09-12T03:40:01Z

On Sun, 11 Sep 2005, Junio C Hamano wrote:
>
> For kernel.org, you could say '/pub/scm/blah' in your alternates
> and expect it to work, only because http://kernel.org/pub
> hierarchy happens to match the absolute path /pub on the
> filesystem, but for most people's default HTTP server
> installation, they would need to say /var/www/scm/blah to have
> alternate work locally, but somebody has to know that the named
> directory is served as http://machine.xz/pub/scm/blah somewhere.

Yes. We should probably have some well-defined meaning for relative paths
in there regardless (eg just define that they are always relative to the
main GIT_OBJECT_DIRECTORY or something).

That would also allow mirrors to mirror the git archives in different
places, without upsetting the result (as long as they are mirrored
together).

Linus