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

recursive alternates with git-http-fetch

From
KGKumar Gala <galak@kernel.crashing.org>
Date
Jun 29, 2007, 02:33 UTC
Message-ID
<C78730FE-CF62-4EFE-9EF5-26D3D0315F3B@kernel.crashing.org>

Is there a reason that git-http-fetch doesn't handle recursive alternates?

We have the following setup
my powerpc.git has an alternate that looks like:
/pub/scm/linux/kernel/git/paulus/powerpc.git/objects
paulus's has an alternate that looks like:
/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects

However git-http-fetch does get the 'torvalds' alternate and ends up having issues. You get something like the following:

error: Unable to find 060a71d41ad7ccc3214065a182e6f67568420071 under http://www.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git/ Cannot obtain needed blob 060a71d41ad7ccc3214065a182e6f67568420071 while processing commit 7b7a57c77dccddd84b6aa02a38deee7ad97c977a.

(Note, I've set my alternates to point to both paulus/powerpc.git and torvalds/linux-2.6.git to make things work for people).

- k
Message 1 of 1 in “recursive alternates with git-http-fetch”
  1. Kumar GalaJun 29, 2007

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.