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

Re: [QUESTION] about .git/info/grafts file

From
RARyan Anderson <ryan@michonline.com>
Date
Jan 20, 2006, 20:48 UTC
Message-ID
<20060120204851.GB19212@mythryan2.michonline.com>
In-Reply-To
<43CF97AF.9060300@op5.se>
On Thu, Jan 19, 2006 at 02:44:15PM +0100, Andreas Ericsson wrote:
Show 6 quoted lines
> 
> The full kernel tree, with history since 1991 or some such, is about 3.2 
> GB. It was for this reason that the early history was dropped. I don't 
> think another drop will be necessary any time soon, since incremental 
> updates are fairly cheap over git and git+ssh. Only gitk suffers, but 
> that's just for a short while.

Just to make sure this is corrected, the 3.2GB was for a fully unpacked tree, which is still fairly bad in the current tree.

The historical tree, packed, runs about 266M in a single pack. Admittedly, I still refuse to try to run gitk on it.

Show 7 quoted lines
> >But I'm not saying that it's bad thing to keep
> >that history. It just would be nice to allow developpers that don't
> >care about old history to get rid of it.
> 
> You could ofcourse create a new repository with the files from the 
> version you want, but then you'd have a hard time merging the two repos 
> if you ever want to import the old history.

It's always possible to use a "graft" to tie the history together, and if you really need to merge changes across the boundary, my graft-ripple (in the archives) tool can make it happen, though it does some ... nasty things to the history tree in the process. (It might be useful on a throwaway tree to provide a way to merge, then, from which a set of diffs could be taken and applied back on an un-messy tree.)

-- 
Ryan Anderson
  sometimes Pug Majere
Previous: Petr BaudisNext: Junio C Hamano
Message 18 of 21 in “[QUESTION] about .git/info/grafts file”
  1. FranckJan 17, 2006
  2. FranckJan 18, 2006
  3. Junio C HamanoJan 19, 2006
  4. FranckJan 19, 2006
  5. Petr BaudisJan 19, 2006
  6. Linus TorvaldsJan 19, 2006
  7. FranckJan 19, 2006
  8. Linus TorvaldsJan 19, 2006
  9. Junio C HamanoJan 19, 2006
  10. Junio C HamanoJan 19, 2006
  11. FranckJan 20, 2006
  12. Andreas EricssonJan 19, 2006
  13. Petr BaudisJan 19, 2006
  14. FranckJan 19, 2006
  15. Andreas EricssonJan 19, 2006
  16. Petr BaudisJan 19, 2006
  17. Petr BaudisJan 19, 2006
  18. Ryan AndersonJan 20, 2006
  19. Junio C HamanoJan 20, 2006
  20. FranckJan 20, 2006
  21. Junio C HamanoJan 20, 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.