aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/config
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-04-27 16:00:59 -0700
committerJunio C Hamano <gitster@pobox.com>2023-04-27 16:00:59 -0700
commit849c8b3dbf8e850020951e81a42df4dc0b1e5b5d (patch)
tree5b0187c4a8a834b0afb5674e5f623af7f8b2ca2c /Documentation/config
parent2807bd2c10606e590886543afe4e4f208dddd489 (diff)
parent9f7f10a282d8adeb9da0990aa0eb2adf93a47ca7 (diff)
downloadgit-849c8b3dbf8e850020951e81a42df4dc0b1e5b5d.tar.gz
Merge branch 'tb/pack-revindex-on-disk'
The on-disk reverse index that allows mapping from the pack offset to the object name for the object stored at the offset has been enabled by default. * tb/pack-revindex-on-disk: t: invert `GIT_TEST_WRITE_REV_INDEX` config: enable `pack.writeReverseIndex` by default pack-revindex: introduce `pack.readReverseIndex` pack-revindex: introduce GIT_TEST_REV_INDEX_DIE_ON_DISK pack-revindex: make `load_pack_revindex` take a repository t5325: mark as leak-free pack-write.c: plug a leak in stage_tmp_packfiles()
Diffstat (limited to 'Documentation/config')
-rw-r--r--Documentation/config/pack.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/config/pack.txt b/Documentation/config/pack.txt
index 53093d9996..d4c7c9d4e4 100644
--- a/Documentation/config/pack.txt
+++ b/Documentation/config/pack.txt
@@ -171,9 +171,15 @@ pack.writeBitmapLookupTable::
beneficial in repositories that have relatively large bitmap
indexes. Defaults to false.
+pack.readReverseIndex::
+ When true, git will read any .rev file(s) that may be available
+ (see: linkgit:gitformat-pack[5]). When false, the reverse index
+ will be generated from scratch and stored in memory. Defaults to
+ true.
+
pack.writeReverseIndex::
When true, git will write a corresponding .rev file (see:
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.
+ Defaults to true.