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

Re: [PATCH] Alternate object pool mechanism updates.

From
Junio C Hamano <junkio@cox.net>
Date
Aug 15, 2005, 01:53 UTC
Message-ID
<7vr7cw7ypt.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.58.0508141726390.3553@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
> I think this is great - especially for places like kernel.org, where a lot 
> of repos end up being related to each other, yet independent.

Yes. There is one shortcoming in the current git-clone -s in the proposed updates branch. If the parent repository has alternates on its own, that information should be copied to the cloned one as well (e.g. Jeff has alternates pointing at you, and I clone from Jeff with -s flag --- I should list not just Jeff but also you to borrow from in my alternates file).

> However, exactly for places like kernel.org it would _also_ be nice if
> there was some way to prune objects that have been merged back into the
> parent.

Yes. Another possibility is to use git-relink which was written exactly to solve this in a different way.

Previous: Linus TorvaldsNext: Linus Torvalds
Message 6 of 12 in “Alternate object pool mechanism updates.”
  1. Alternate object pool mechanism updates.Junio C Hamano, Aug 13, 2005
  2. Petr BaudisAug 13, 2005
  3. Junio C HamanoAug 13, 2005
  4. Junio C HamanoAug 14, 2005
  5. Linus TorvaldsAug 15, 2005
  6. Junio C HamanoAug 15, 2005
  7. Linus TorvaldsAug 16, 2005
  8. Daniel BarkalowAug 16, 2005
  9. Junio C HamanoAug 16, 2005
  10. Use LF and allow comments in objects/info/alternates file.Junio C Hamano, Aug 17, 2005
  11. Junio C HamanoAug 16, 2005
  12. Linus TorvaldsAug 16, 2005

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.