git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git clone stable-2.6.25.y fails over HTTP

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 4, 2008, 18:02 UTC
Message-ID
<7v63spxem0.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<m363spyta3.fsf@localhost.localdomain>
Jakub Narebski <jnareb@gmail.com> writes:
Show 22 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
>
>> Greg KH <greg@kroah.com> writes:
>> 
>>>> 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.

Previous: Jakub NarebskiNext: Greg KH
Message 4 of 12 in “Re: git clone stable-2.6.25.y fails over HTTP”
  1. Greg KHJun 4, 2008
  2. Junio C HamanoJun 4, 2008
  3. Jakub NarebskiJun 4, 2008
  4. Junio C HamanoJun 4, 2008
  5. Greg KHJun 5, 2008
  6. Junio C HamanoJun 5, 2008
  7. Greg KHJun 5, 2008
  8. Daniel BarkalowJun 5, 2008
  9. Junio C HamanoJun 5, 2008
  10. Greg KHJun 6, 2008
  11. Junio C HamanoJun 6, 2008
  12. Greg KHJun 6, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.