config.txt: move splitIndex.* to a separate file

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Nguyễn Thái Ngọc Duy committed Oct 27, 2018 at 08:23 UTC 2ef0e469fef2883f669d4fcb881ce13591155c3d
2 files changed +25 -24
Documentation/config.txt
+1 -24
@@ -409,30 +409,7 @@ include::config/sequencer.txt[]
409
410 include::config/showbranch.txt[]
411
412 -splitIndex.maxPercentChange::
413 - When the split index feature is used, this specifies the
414 - percent of entries the split index can contain compared to the
415 - total number of entries in both the split index and the shared
416 - index before a new shared index is written.
417 - The value should be between 0 and 100. If the value is 0 then
418 - a new shared index is always written, if it is 100 a new
419 - shared index is never written.
420 - By default the value is 20, so a new shared index is written
421 - if the number of entries in the split index would be greater
422 - than 20 percent of the total number of entries.
423 - See linkgit:git-update-index[1].
424 -
425 -splitIndex.sharedIndexExpire::
426 - When the split index feature is used, shared index files that
427 - were not modified since the time this variable specifies will
428 - be removed when a new shared index file is created. The value
429 - "now" expires all entries immediately, and "never" suppresses
430 - expiration altogether.
431 - The default value is "2.weeks.ago".
432 - Note that a shared index file is considered modified (for the
433 - purpose of expiration) each time a new split-index file is
434 - either created based on it or read from it.
435 - See linkgit:git-update-index[1].
412 +include::config/splitindex.txt[]
413
414 include::config/ssh.txt[]
415
Documentation/config/splitindex.txt new
+24
@@ -0,0 +1,24 @@
1 +splitIndex.maxPercentChange::
2 + When the split index feature is used, this specifies the
3 + percent of entries the split index can contain compared to the
4 + total number of entries in both the split index and the shared
5 + index before a new shared index is written.
6 + The value should be between 0 and 100. If the value is 0 then
7 + a new shared index is always written, if it is 100 a new
8 + shared index is never written.
9 + By default the value is 20, so a new shared index is written
10 + if the number of entries in the split index would be greater
11 + than 20 percent of the total number of entries.
12 + See linkgit:git-update-index[1].
13 +
14 +splitIndex.sharedIndexExpire::
15 + When the split index feature is used, shared index files that
16 + were not modified since the time this variable specifies will
17 + be removed when a new shared index file is created. The value
18 + "now" expires all entries immediately, and "never" suppresses
19 + expiration altogether.
20 + The default value is "2.weeks.ago".
21 + Note that a shared index file is considered modified (for the
22 + purpose of expiration) each time a new split-index file is
23 + either created based on it or read from it.
24 + See linkgit:git-update-index[1].