git-multi-pack-index
(1)Write and verify multi-pack-indexes
Options
5--object-dirUse given directory for the location of Git objects. We check <dir>/packs/multi-pack-index for the current MIDX file, and <dir>/packs for the pack-files to index. <dir> must be an alternate of the current repository.
--preferred-packOptionally specify the tie-breaking pack used when multiple packs contain the same object. <pack> must contain at least one object. If not given, ties are broken in favor of the pack with the lowest mtime.
--stdin-packsWrite a multi-pack index containing only the set of line-delimited pack index basenames provided over stdin.
--refs-snapshotWith --bitmap, optionally specify a file which contains a "refs snapshot" taken prior to repacking. A reference snapshot is composed of line-delimited OIDs corresponding to the reference tips, usually taken by git repack prior to generating a new pack. A line may optionally start with a + character to indicate that the reference which corresponds to that OID is "preferred" (see git-config(1)'s pack.preferBitmapTips.) The file given at <path> is expected to be readable, and can contain duplicates. (If a given OID is given more than once, it is marked as preferred if at least one instance of it
--incrementalWrite an incremental MIDX file containing only objects and packs not present in an existing MIDX layer. Migrates non-incremental MIDXs to incremental ones when necessary. Incompatible with --bitmap.
DESCRIPTION
EXAMPLES
$ git multi-pack-index write
$ git multi-pack-index write --preferred-pack=<pack> --bitmap
$ git multi-pack-index --object-dir <alt> write
$ git multi-pack-index verify