Introduction
A multi-pack index lets Git look up an object across
many packfiles at once, instead of searching
each pack’s own index. The usual file is named multi-pack-index and sits in
the pack folder.
Structure
The file is binary. It starts with the 4 bytes MIDX and a header giving the
version (Git reads 1 and 2), the object name type, the number of chunks and the number of
packs. A table of chunk positions follows, then the chunks (for example
PNAM, OIDF, OIDL and OOFF) and a
closing checksum.
Not described
Known, not yet covered
- Reference: this page is a summary; the chunks are not yet described on this site.
- Viewer: the site has no viewer for multi-pack indexes.
Links
Software
- Git – writes and reads multi-pack indexes
Reference
- gitformat-pack – includes the multi-pack-index format