Re: git clone stable-2.6.25.y fails over HTTP
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 5, 2008, 04:12 UTC
- Message-ID
- <7vabi05xl1.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080605040315.GA21798@kroah.com>
Greg KH <greg@kroah.com> writes:
Show 11 quoted lines
> On Wed, Jun 04, 2008 at 10:09:02AM -0700, Junio C Hamano wrote: > >> A quick fix is obviously to remove the extra prefix but it makes me wonder >> how these two "stable" repositories were prepared differently. Could this >> be a regression in "git clone"? Or perhaps you "clone -s"'s Linus's >> repository slightly differently between them? > > That's odd. > > Chris was the one that created the .24 tree and I created the .25 tree, > so we must have done so differently, sorry.
No need to be sorry. Thanks for raising the issue up.
I think I have one possible explanation. When "git clone" was rewritten in C some time ago, it started to dereference symlinks, and newer git would dereference /pub -> /home/ftp/pub when you do:
git clone -s --bare /pub/scm/linux/kernel/git/torvalds/linux-2.6/ linux-2.6.2x.y
while the scripted version used to keep /pub/scm path.
A bit further digging is necessary to make sure if we can fix this easily, but I suspect this is worth fixing.