diff options
author | Taylor Blau <me@ttaylorr.com> | 2021-09-28 21:55:20 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-28 21:20:56 -0700 |
commit | 6d08b9d4caa230441b7d9e2b4f23deaf9ff74c13 (patch) | |
tree | 998a9f118f75eac980c677a0e41a16e2e0cd4a9d /mergetools/diffuse | |
parent | builtin/repack.c: support writing a MIDX while repacking (diff) | |
download | tgif-6d08b9d4caa230441b7d9e2b4f23deaf9ff74c13.tar.xz |
builtin/repack.c: make largest pack preferred
When repacking into a geometric series and writing a multi-pack bitmap,
it is beneficial to have the largest resulting pack be the preferred
object source in the bitmap's MIDX, since selecting the large packs can
lead to fewer broken delta chains and better compression.
Teach 'git repack' to identify this pack and pass it to the MIDX write
machinery in order to mark it as preferred.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mergetools/diffuse')
0 files changed, 0 insertions, 0 deletions