From: Junio C Hamano Date: Tue, 6 Sep 2022 01:33:39 +0000 (-0700) Subject: Merge branch 'ac/bitmap-lookup-table' X-Git-Tag: v2.38.0-rc0~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3fe0121479ea340936d11927efa5a45a4e1e39cc;p=thirdparty%2Fgit.git Merge branch 'ac/bitmap-lookup-table' The pack bitmap file gained a bitmap-lookup table to speed up locating the necessary bitmap for a given commit. * ac/bitmap-lookup-table: pack-bitmap-write: drop unused pack_idx_entry parameters bitmap-lookup-table: add performance tests for lookup table pack-bitmap: prepare to read lookup table extension pack-bitmap-write: learn pack.writeBitmapLookupTable and add tests pack-bitmap-write.c: write lookup table extension bitmap: move `get commit positions` code to `bitmap_writer_finish` Documentation/technical: describe bitmap lookup table extension --- 3fe0121479ea340936d11927efa5a45a4e1e39cc diff --cc Documentation/config/pack.txt index 3e581eab84,b955ca572e..53093d9996 --- a/Documentation/config/pack.txt +++ b/Documentation/config/pack.txt @@@ -164,9 -164,16 +164,16 @@@ When writing a multi-pack reachability 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]) + linkgit:gitformat-pack[5]) for each new packfile that it writes in all places except for linkgit:git-fast-import[1] and in the bulk checkin mechanism. Defaults to false.