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

Re: Kernel headers git tree

From
David Woodhouse <dwmw2@infradead.org>
Date
Jul 14, 2006, 17:58 UTC
Message-ID
<1152899889.3191.71.camel@pmac.infradead.org>
In-Reply-To
<Pine.LNX.4.64.0607141256170.9789@iabervon.org>
On Fri, 2006-07-14 at 13:51 -0400, Daniel Barkalow wrote:
Show 10 quoted lines
> I think that a program to generate a slave git tree based in some 
> user-modifiable way on a parent repository would be useful and 
> implementable. I'd thought a bunch about it a while ago, for extracting 
> separable parts of projects (e.g., make a kbuild project that's pulled out 
> of the kernel tree, but is still a regular git project to anyone who 
> doesn't know this). My conclusion was that you need a cache of mappings, 
> because otherwise you can't identify that you already have a transformed 
> version of a commit, because you don't know its transformed parents, 
> unless you've gone all the way back to the root (which doesn't have 
> parents).

Absolutely. You don't want to go all the way back to the root every time -- it's an incremental process, and you have to cache the mappings from objects in the 'master' tree to objects in the 'slave' tree.

My existing scripts already do that part -- I didn't think it was worth commenting on.

http://david.woodhou.se/extract-jffs2-git.sh http://david.woodhou.se/extract-khdrs-git.sh http://david.woodhou.se/extract-khdrs-stage2.sh

And no, I don't do any further simplification of the graph of commits other than what 'git-rev-list' does for me. I need to fully go over Linus' last mail and understand it, but I think the conclusion is that the above scripts are fine, and I can happily drop --topo-order from them.

-- 
dwmw2
Previous: Daniel BarkalowNext: Daniel Barkalow
Message 12 of 27 in “Kernel headers git tree”
  1. David WoodhouseJul 13, 2006
  2. Junio C HamanoJul 14, 2006
  3. David WoodhouseJul 14, 2006
  4. Linus TorvaldsJul 14, 2006
  5. Junio C HamanoJul 14, 2006
  6. Linus TorvaldsJul 14, 2006
  7. David WoodhouseJul 14, 2006
  8. Linus TorvaldsJul 14, 2006
  9. David WoodhouseJul 14, 2006
  10. Linus TorvaldsJul 14, 2006
  11. Daniel BarkalowJul 14, 2006
  12. David WoodhouseJul 14, 2006
  13. Daniel BarkalowJul 14, 2006
  14. Linus TorvaldsJul 14, 2006
  15. David WoodhouseJul 14, 2006
  16. Linus TorvaldsJul 14, 2006
  17. Trivial path optimization testAlex Riesen, Jul 17, 2006
  18. Junio C HamanoJul 24, 2006
  19. Alex RiesenJul 24, 2006
  20. Trivial path optimization testAlex Riesen, Jul 24, 2006
  21. Junio C HamanoJul 14, 2006
  22. David WoodhouseJul 14, 2006
  23. Ian CampbellJul 14, 2006
  24. Junio C HamanoJul 14, 2006
  25. Ingo OeserJul 14, 2006
  26. David WoodhouseJul 14, 2006
  27. Ingo OeserJul 18, 2006

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.