Skip to content

Commit 2ef0e46

Browse files
pcloudsgitster
authored andcommitted
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>
1 parent c52bcbb commit 2ef0e46

File tree

2 files changed

+25
-24
lines changed

2 files changed

+25
-24
lines changed

Documentation/config.txt

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -409,30 +409,7 @@ include::config/sequencer.txt[]
409409

410410
include::config/showbranch.txt[]
411411

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[]
436413

437414
include::config/ssh.txt[]
438415

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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].

0 commit comments

Comments
 (0)