Re: git clone stable-2.6.25.y fails over HTTP
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:41
Jakub Narebski [off-list ref] writes:
Junio C Hamano [off-list ref] writes:quoted
Greg KH [off-list ref] writes:quoted
quoted
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?Errr... isn't it the case for objects/info/http-alternates ?
You do not have to use that http specific hack. On these machines, /pub actually points at /home/ftp/pub with a symlink.