diff options
author | Abhradeep Chakraborty <chakrabortyabhradeep79@gmail.com> | 2022-08-14 16:55:09 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-08-26 10:13:54 -0700 |
commit | 76f14b777c13ac8d8f6a2e5812945e725bea3d84 (patch) | |
tree | da3a0f594e3e3a97a9581b951b9f21b600124ce4 /Documentation/config | |
parent | 93eb41e2403788fa9105211956e87b6b2c22c68c (diff) | |
download | git-76f14b777c13ac8d8f6a2e5812945e725bea3d84.tar.gz |
pack-bitmap-write: learn pack.writeBitmapLookupTable and add tests
Teach Git to provide a way for users to enable/disable bitmap lookup
table extension by providing a config option named 'writeBitmapLookupTable'.
Default is false.
Also add test to verify writting of lookup table.
Mentored-by: Taylor Blau <me@ttaylorr.com>
Co-Mentored-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
Co-Authored-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Abhradeep Chakraborty <chakrabortyabhradeep79@gmail.com>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config')
-rw-r--r-- | Documentation/config/pack.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/config/pack.txt b/Documentation/config/pack.txt index ad7f73a1ea..b955ca572e 100644 --- a/Documentation/config/pack.txt +++ b/Documentation/config/pack.txt @@ -164,6 +164,13 @@ When writing a multi-pack reachability bitmap, no new namehashes are computed; instead, any namehashes stored in an existing bitmap are permuted into their appropriate location when writing a new bitmap. +pack.writeBitmapLookupTable:: + When true, Git will include a "lookup table" section in the + bitmap index (if one is written). This table is used to defer + loading individual bitmaps as late as possible. This can be + beneficial in repositories that have relatively large bitmap + indexes. Defaults to false. + pack.writeReverseIndex:: When true, git will write a corresponding .rev file (see: link:../technical/pack-format.html[Documentation/technical/pack-format.txt]) |