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

Re: Could Git be smarter about object reuse?

From
SSainan <sainan@calamity.inc>
Date
Oct 3, 2025, 11:39 UTC
Message-ID
<B0Y9iigwIf1VSJpVtY_IzINon0LTimi0sIg9B4j8pDJt2FoxHmQ-Gn5C0s0l-GhsHMP2ZptgNbm879BqQgpDOo-CFEOhh-nQqhlISosKoWY=@calamity.inc>
In-Reply-To
<20250923005421.GB2271307@coredump.intra.peff.net>
Yeah, I have to be honest, I'm not sure 'git repack -abd' is such a magic solution. I have a branch that diverged from main like 1000 commits ago and added roughly 30 commits of its own (they're all small commits, at most 1 blob), and yet even with a bitmap it's pushing over 475000 objects when my diverged branch could be expressed in about 100.
-- Sainan
Previous: Jeff KingNext: Sainan
Message 7 of 8 in “Could Git be smarter about object reuse?”
  1. SainanSep 22, 2025
  2. Simon RichterSep 22, 2025
  3. SainanSep 22, 2025
  4. Jeff KingSep 22, 2025
  5. SainanSep 22, 2025
  6. Jeff KingSep 23, 2025
  7. SainanOct 3, 2025
  8. SainanOct 3, 2025

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.