Re: [PATCH 29/59] config.txt: move i18n.* to a separate file

2018-10-21 Thread Andrei Rybak
Subject line: s/i18n/index/ 

On 20/10/2018 14:38, Nguyễn Thái Ngọc Duy wrote:
> Signed-off-by: Nguyễn Thái Ngọc Duy 
> ---
>  Documentation/config.txt   | 11 +--
>  Documentation/index-config.txt | 10 ++
>  2 files changed, 11 insertions(+), 10 deletions(-)
>  create mode 100644 Documentation/index-config.txt
> 
> diff --git a/Documentation/config.txt b/Documentation/config.txt
> index ec0f4e2161..5ba7975837 100644
> --- a/Documentation/config.txt
> +++ b/Documentation/config.txt
> @@ -606,16 +606,7 @@ imap::
>   The configuration variables in the 'imap' section are described
>   in linkgit:git-imap-send[1].
>  
> -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'.

[...]


[PATCH 29/59] config.txt: move i18n.* to a separate file

2018-10-20 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy 
---
 Documentation/config.txt   | 11 +--
 Documentation/index-config.txt | 10 ++
 2 files changed, 11 insertions(+), 10 deletions(-)
 create mode 100644 Documentation/index-config.txt

diff --git a/Documentation/config.txt b/Documentation/config.txt
index ec0f4e2161..5ba7975837 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -606,16 +606,7 @@ imap::
The configuration variables in the 'imap' section are described
in linkgit:git-imap-send[1].
 
-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::index-config.txt[]
 
 init.templateDir::
Specify the directory from which templates will be copied.
diff --git a/Documentation/index-config.txt b/Documentation/index-config.txt
new file mode 100644
index 00..4b94b6bedc
--- /dev/null
+++ b/Documentation/index-config.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.
-- 
2.19.1.647.g708186aaf9