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 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.

Previous: Greg KHNext: Greg KH
Message 6 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.