midx-write: move writing-related functions from midx.c

Introduce a new midx-write.c source file, which holds all of the
functionality from the MIDX sub-system related to writing new MIDX files.

Similar to the relationship between "pack-bitmap.c" and
"pack-bitmap-write.c", this source file will hold code that is specific
to writing MIDX files as opposed to reading them (the latter will remain
in midx.c).

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Taylor Blau
2024-04-01 17:16:34 -04:00
committed by Junio C Hamano
parent 34f00e8643
commit 748b88a021
4 changed files with 1555 additions and 1539 deletions

1521
midx-write.c Normal file

File diff suppressed because it is too large Load Diff