Re: Could Git be smarter about object reuse?
- From
- Sainan <sainan@calamity.inc>
- Date
- Sep 22, 2025, 22:09 UTC
- Message-ID
- <ZURUr5sfXi0wsjBeXiwAxyNgalVa2ZveXDgoTcexUNOAgcP_JscHvFFDIss4stpsiB2MzUQ_Z30tFrPSgr8W8V02ecfCj4BFFwQqWwJpba4=@calamity.inc>
- In-Reply-To
- <20250922200510.GC2205919@coredump.intra.peff.net>
> git repack -adb
Certainly got my fans spinning for a bit. :)
But I can indeed confirm that it does solve the issue at least when amending a commit (will need to do further testing and generally get a feel for it).
However, one issue that I'm immediately noticing is that if I do 'git pull', I get a new pack that is bitmap-less, once again likely exposing me to the same problems.
Repacking before pushing would be okay for me as long as it guarantees a successful push, but it also seems a bit inefficient?
-- Sainan