diff options
author | Eric Wong <normalperson@yhbt.net> | 2016-04-28 07:28:55 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-28 09:58:14 -0700 |
commit | 9cea46cdda9359e54aec379c4b4e2f9470c35023 (patch) | |
tree | 702a6b33dbe14a711690490bd3ea550347ddd1ec /Documentation/git-pack-objects.txt | |
parent | 625efa9decb64e2b51c4bef342922553729cf2f6 (diff) | |
download | git-9cea46cdda9359e54aec379c4b4e2f9470c35023.tar.gz |
pack-objects: warn on split packs disabling bitmapsew/doc-split-pack-disables-bitmap
It can be tempting for a server admin to want a stable set of
long-lived packs for dumb clients; but also want to enable bitmaps
to serve smart clients more quickly.
Unfortunately, such a configuration is impossible; so at least warn
users of this incompatibility since commit 21134714 (pack-objects:
turn off bitmaps when we split packs, 2014-10-16).
Tested the warning by inspecting the output of:
make -C t t5310-pack-bitmaps.sh GIT_TEST_OPTS=-v
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-pack-objects.txt')
-rw-r--r-- | Documentation/git-pack-objects.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-pack-objects.txt b/Documentation/git-pack-objects.txt index bbea5294ca..19cdcd0341 100644 --- a/Documentation/git-pack-objects.txt +++ b/Documentation/git-pack-objects.txt @@ -110,7 +110,8 @@ base-name:: --max-pack-size=<n>:: Maximum size of each output pack file. The size can be suffixed with "k", "m", or "g". The minimum size allowed is limited to 1 MiB. - If specified, multiple packfiles may be created. + If specified, multiple packfiles may be created, which also + prevents the creation of a bitmap index. The default is unlimited, unless the config variable `pack.packSizeLimit` is set. |