diff options
| author | Taylor Blau <me@ttaylorr.com> | 2026-02-24 14:00:21 -0500 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-24 11:16:34 -0800 |
| commit | 5f3e7f7279da72b20f99a2bcd26d146f7edaef9d (patch) | |
| tree | 3bc7113ec1f309e917e5c4966c75bd98e88c4ca1 /replace-object.c | |
| parent | 4f8543255efc3cc1d5247fa16a9f7597ad565993 (diff) | |
| download | git-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
