2018-11-20 07:11:47 +01:00
|
|
|
index.recordEndOfIndexEntries::
|
|
|
|
Specifies whether the index file should include an "End Of Index
|
|
|
|
Entry" section. This reduces index load time on multiprocessor
|
|
|
|
machines but produces a message "ignoring EOIE extension" when
|
|
|
|
reading the index using Git versions before 2.20. Defaults to
|
index: make index.threads=true enable ieot and eoie
If a user explicitly sets
[index]
threads = true
to read the index using multiple threads, ensure that index writes
include the offset table by default to make that possible. This
ensures that the user's intent of turning on threading is respected.
In other words, permit the following configurations:
- index.threads and index.recordOffsetTable unspecified: do not write
the offset table yet (to avoid alarming the user with "ignoring IEOT
extension" messages when an older version of Git accesses the
repository) but do make use of multiple threads to read the index if
the supporting offset table is present.
This can also be requested explicitly by setting index.threads=true,
0, or >1 and index.recordOffsetTable=false.
- index.threads=false or 1: do not write the offset table, and do not
make use of the offset table.
One can set index.recordOffsetTable=false as well, to be more
explicit.
- index.threads=true, 0, or >1 and index.recordOffsetTable unspecified:
write the offset table and make use of threads at read time.
This can also be requested by setting index.threads=true, 0, >1, or
unspecified and index.recordOffsetTable=true.
Fortunately the complication is temporary: once most Git installations
have upgraded to a version with support for the IEOT and EOIE
extensions, we can flip the defaults for index.recordEndOfIndexEntries
and index.recordOffsetTable to true and eliminate the settings.
Helped-by: Ben Peart <benpeart@microsoft.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-11-20 07:14:26 +01:00
|
|
|
'true' if index.threads has been explicitly enabled, 'false'
|
|
|
|
otherwise.
|
2018-11-20 07:11:47 +01:00
|
|
|
|
2018-11-20 07:12:22 +01:00
|
|
|
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.
|
index: make index.threads=true enable ieot and eoie
If a user explicitly sets
[index]
threads = true
to read the index using multiple threads, ensure that index writes
include the offset table by default to make that possible. This
ensures that the user's intent of turning on threading is respected.
In other words, permit the following configurations:
- index.threads and index.recordOffsetTable unspecified: do not write
the offset table yet (to avoid alarming the user with "ignoring IEOT
extension" messages when an older version of Git accesses the
repository) but do make use of multiple threads to read the index if
the supporting offset table is present.
This can also be requested explicitly by setting index.threads=true,
0, or >1 and index.recordOffsetTable=false.
- index.threads=false or 1: do not write the offset table, and do not
make use of the offset table.
One can set index.recordOffsetTable=false as well, to be more
explicit.
- index.threads=true, 0, or >1 and index.recordOffsetTable unspecified:
write the offset table and make use of threads at read time.
This can also be requested by setting index.threads=true, 0, >1, or
unspecified and index.recordOffsetTable=true.
Fortunately the complication is temporary: once most Git installations
have upgraded to a version with support for the IEOT and EOIE
extensions, we can flip the defaults for index.recordEndOfIndexEntries
and index.recordOffsetTable to true and eliminate the settings.
Helped-by: Ben Peart <benpeart@microsoft.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-11-20 07:14:26 +01:00
|
|
|
Defaults to 'true' if index.threads has been explicitly enabled,
|
|
|
|
'false' otherwise.
|
2018-11-20 07:12:22 +01:00
|
|
|
|
2021-03-30 15:10:59 +02:00
|
|
|
index.sparse::
|
|
|
|
When enabled, write the index using sparse-directory entries. This
|
|
|
|
has no effect unless `core.sparseCheckout` and
|
|
|
|
`core.sparseCheckoutCone` are both enabled. Defaults to 'false'.
|
|
|
|
|
2018-10-27 08:23:11 +02:00
|
|
|
index.threads::
|
|
|
|
Specifies the number of threads to spawn when loading the index.
|
|
|
|
This is meant to reduce index load time on multiprocessor machines.
|
|
|
|
Specifying 0 or 'true' will cause Git to auto-detect the number of
|
|
|
|
CPU's and set the number of threads accordingly. Specifying 1 or
|
|
|
|
'false' will disable multithreading. Defaults to 'true'.
|
|
|
|
|
|
|
|
index.version::
|
|
|
|
Specify the version with which new index files should be
|
|
|
|
initialized. This does not affect existing repositories.
|
2019-08-13 20:37:47 +02:00
|
|
|
If `feature.manyFiles` is enabled, then the default is 4.
|