summaryrefslogtreecommitdiffstats
path: root/git-multi-pack-index.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-09-20 15:46:08 -0700
committerJunio C Hamano <gitster@pobox.com>2021-09-20 15:46:08 -0700
commitde44de3d9e71db785a0bbd06a6ddad8d2c38dd67 (patch)
tree6ded4cd8380b37ba1b9144d972bf0a6217de78aa /git-multi-pack-index.txt
parentc6d56e8fea997f642ab3ba5e420139151d198f55 (diff)
downloadgit-htmldocs-de44de3d9e71db785a0bbd06a6ddad8d2c38dd67.tar.gz
Autogenerated HTML docs for v2.33.0-514-g99c99
Diffstat (limited to 'git-multi-pack-index.txt')
-rw-r--r--git-multi-pack-index.txt20
1 files changed, 16 insertions, 4 deletions
diff --git a/git-multi-pack-index.txt b/git-multi-pack-index.txt
index ffd601bc1..a9df3dbd3 100644
--- a/git-multi-pack-index.txt
+++ b/git-multi-pack-index.txt
@@ -10,7 +10,7 @@ SYNOPSIS
--------
[verse]
'git multi-pack-index' [--object-dir=<dir>] [--[no-]progress]
- [--preferred-pack=<pack>] <subcommand>
+ [--preferred-pack=<pack>] [--[no-]bitmap] <subcommand>
DESCRIPTION
-----------
@@ -23,6 +23,8 @@ OPTIONS
Use 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.
--[no-]progress::
Turn progress on/off explicitly. If neither is specified, progress is
@@ -37,9 +39,12 @@ write::
--
--preferred-pack=<pack>::
Optionally specify the tie-breaking pack used when
- multiple packs contain the same object. If not given,
- ties are broken in favor of the pack with the lowest
- mtime.
+ 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.
+
+ --[no-]bitmap::
+ Control whether or not a multi-pack bitmap is written.
--
verify::
@@ -81,6 +86,13 @@ EXAMPLES
$ git multi-pack-index write
-----------------------------------------------
+* Write a MIDX file for the packfiles in the current .git folder with a
+corresponding bitmap.
++
+-------------------------------------------------------------
+$ git multi-pack-index write --preferred-pack=<pack> --bitmap
+-------------------------------------------------------------
+
* Write a MIDX file for the packfiles in an alternate object store.
+
-----------------------------------------------