]> git.ipfire.org Git - thirdparty/git.git/commit
Documentation: describe incremental MIDX format
authorTaylor Blau <me@ttaylorr.com>
Tue, 6 Aug 2024 15:36:41 +0000 (11:36 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Aug 2024 19:01:35 +0000 (12:01 -0700)
commit6eb1a7d7b017299f9e4cfeb9ec40a7da0c2748df
treeca9d626f1823f8588cc3a65bca7763fec0ae5dbb
parent04f5a52757cd92347271e24f7cbdfe15dafce3b7
Documentation: describe incremental MIDX format

Prepare to implement incremental multi-pack indexes (MIDXs) over the
next several commits by first describing the relevant prerequisites
(like a new chunk in the MIDX format, the directory structure for
incremental MIDXs, etc.)

The format is described in detail in the patch contents below, but the
high-level description is as follows.

Incremental MIDXs live in $GIT_DIR/objects/pack/multi-pack-index.d, and
each `*.midx` within that directory has a single "parent" MIDX, which is
the MIDX layer immediately before it in the MIDX chain. The chain order
resides in a file 'multi-pack-index-chain' in the same directory.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/multi-pack-index.txt