aboutsummaryrefslogtreecommitdiff
path: root/replace-object.c
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2026-02-24 14:00:21 -0500
committerJunio C Hamano <gitster@pobox.com>2026-02-24 11:16:34 -0800
commit5f3e7f7279da72b20f99a2bcd26d146f7edaef9d (patch)
tree3bc7113ec1f309e917e5c4966c75bd98e88c4ca1 /replace-object.c
parent4f8543255efc3cc1d5247fa16a9f7597ad565993 (diff)
downloadgit-5f3e7f7279da72b20f99a2bcd26d146f7edaef9d.tar.xz
midx-write.c: extract `fill_pack_from_midx()`
When filling packs from an existing MIDX, `fill_packs_from_midx()` handles preparing a MIDX'd pack, and reading out its pack name from the existing MIDX. MIDX compaction will want to perform an identical operation, though the caller will look quite different than `fill_packs_from_midx()`. To reduce any future code duplication, extract `fill_pack_from_midx()` from `fill_packs_from_midx()` to prepare to call our new helper function in a future change. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'replace-object.c')
0 files changed, 0 insertions, 0 deletions