Re: git clone stable-2.6.25.y fails over HTTP
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 4, 2008, 17:09 UTC
- Message-ID
- <7vr6bdxh3l.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080604154523.GA25747@kroah.com>
Greg KH <greg@kroah.com> writes:
Show 5 quoted lines
>> Getting pack list for http://www.kernel.org/home/ftp/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/ >> error: Unable to find fdcce40226d7d4273a08cc4ef84bb25755a710a4 under http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.25.y.git > ... > It looks like git over http isn't following the link somehow to the main > repo?
Yeah, see above. www.kernel.org does not like to serve /home/ftp/pub/scm path; it wants to serve it as /pub/scm/linux instead.
Your objects/info/alternates in 2.6.24.y points at /pub/scm/linux/kernel/git/torvalds/... but in 2.6.25.y it has extra /home/ftp in front of it.
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?