diff mbox series

[38/78] config.txt: move index.* to a separate file

Message ID 20181027062351.30446-39-pclouds@gmail.com (mailing list archive)
State New, archived
Headers show
Series nd/config-split reroll | expand

Commit Message

Duy Nguyen Oct. 27, 2018, 6:23 a.m. UTC
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 Documentation/config.txt       | 11 +----------
 Documentation/config/index.txt | 10 ++++++++++
 2 files changed, 11 insertions(+), 10 deletions(-)
 create mode 100644 Documentation/config/index.txt
diff mbox series

Patch

diff --git a/Documentation/config.txt b/Documentation/config.txt
index d26656df95..03b7ac75fc 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -355,16 +355,7 @@  include::config/i18n.txt[]
 
 include::config/imap.txt[]
 
-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.
+include::config/index.txt[]
 
 init.templateDir::
 	Specify the directory from which templates will be copied.
diff --git a/Documentation/config/index.txt b/Documentation/config/index.txt
new file mode 100644
index 0000000000..4b94b6bedc
--- /dev/null
+++ b/Documentation/config/index.txt
@@ -0,0 +1,10 @@ 
+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.