diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2018-11-20 06:12:22 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-21 04:43:06 (GMT) |
commit | 429160544db9cc0cf748cdc98b21bd3533ec85a3 (patch) | |
tree | 8164f91fe7bbe0989a899521560d34c1fe867592 /Documentation | |
parent | d8465500c3d5ced194585eea05b2a6dccfaa6366 (diff) | |
download | git-429160544db9cc0cf748cdc98b21bd3533ec85a3.zip git-429160544db9cc0cf748cdc98b21bd3533ec85a3.tar.gz git-429160544db9cc0cf748cdc98b21bd3533ec85a3.tar.bz2 |
ieot: default to not writing IEOT section
As with EOIE, popular versions of Git do not support the new IEOT
extension yet. When accessing a Git repository written by a more
modern version of Git, they correctly ignore the unrecognized section,
but in the process they loudly warn
ignoring IEOT extension
resulting in confusion for users. Introduce the index extension more
gently by not writing it yet in this first version with support for
it. Soon, once sufficiently many users are running a modern version
of Git, we can flip the default so users benefit from this index
extension by default.
Introduce a '[index] recordOffsetTable' configuration variable to
control whether the new index extension is written.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/config/index.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/config/index.txt b/Documentation/config/index.txt index 8e138ab..de44183 100644 --- a/Documentation/config/index.txt +++ b/Documentation/config/index.txt @@ -5,6 +5,13 @@ index.recordEndOfIndexEntries:: reading the index using Git versions before 2.20. Defaults to 'false'. +index.recordOffsetTable:: + Specifies whether the index file should include an "Index Entry + Offset Table" section. This reduces index load time on + multiprocessor machines but produces a message "ignoring IEOT + extension" when reading the index using Git versions before 2.20. + Defaults to 'false'. + index.threads:: Specifies the number of threads to spawn when loading the index. This is meant to reduce index load time on multiprocessor machines. |