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/config.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/config.txt')
-rw-r--r-- | Documentation/config.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 2cd6bdd7d2..ef347875dc 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -2147,8 +2147,11 @@ pack.packSizeLimit:: The maximum size of a pack. This setting only affects packing to a file when repacking, i.e. the git:// protocol is unaffected. It can be overridden by the `--max-pack-size` - option of linkgit:git-repack[1]. The minimum size allowed is - limited to 1 MiB. The default is unlimited. + option of linkgit:git-repack[1]. Reaching this limit results + in the creation of multiple packfiles; which in turn prevents + bitmaps from being created. + The minimum size allowed is limited to 1 MiB. + The default is unlimited. Common unit suffixes of 'k', 'm', or 'g' are supported. @@ -2548,8 +2551,9 @@ repack.writeBitmaps:: objects to disk (e.g., when `git repack -a` is run). This index can speed up the "counting objects" phase of subsequent packs created for clones and fetches, at the cost of some disk - space and extra time spent on the initial repack. Defaults to - false. + space and extra time spent on the initial repack. This has + no effect if multiple packfiles are created. + Defaults to false. rerere.autoUpdate:: When set to true, `git-rerere` updates the index with the |