Re: Could Git be smarter about object reuse?
- From
- Sainan <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