Message ID | 20181020123848.2785-30-pclouds@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Split config.txt | expand |
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 <pclouds@gmail.com> > --- > 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'. [...]
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 0000000000..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.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> --- Documentation/config.txt | 11 +---------- Documentation/index-config.txt | 10 ++++++++++ 2 files changed, 11 insertions(+), 10 deletions(-) create mode 100644 Documentation/index-config.txt