config.txt: move grep.* 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
434e6e753febfda1d8331d07890f2e3fae5931e3
2 files changed
+25
-24
Documentation/config.txt
+1
-24
@@ -339,30 +339,7 @@ include::config/gitcvs.txt[]
339
340
include::config/gitweb.txt[]
341
342
-grep.lineNumber::
343
- If set to true, enable `-n` option by default.
344
-
345
-grep.column::
346
- If set to true, enable the `--column` option by default.
347
-
348
-grep.patternType::
349
- Set the default matching behavior. Using a value of 'basic', 'extended',
350
- 'fixed', or 'perl' will enable the `--basic-regexp`, `--extended-regexp`,
351
- `--fixed-strings`, or `--perl-regexp` option accordingly, while the
352
- value 'default' will return to the default matching behavior.
353
-
354
-grep.extendedRegexp::
355
- If set to true, enable `--extended-regexp` option by default. This
356
- option is ignored when the `grep.patternType` option is set to a value
357
- other than 'default'.
358
-
359
-grep.threads::
360
- Number of grep worker threads to use.
361
- See `grep.threads` in linkgit:git-grep[1] for more information.
362
-
363
-grep.fallbackToNoIndex::
364
- If set to true, fall back to git grep --no-index if git grep
365
- is executed outside of a git repository. Defaults to false.
342
+include::config/grep.txt[]
343
344
gpg.program::
345
Use this custom program instead of "`gpg`" found on `$PATH` when
Documentation/config/grep.txt
new
+24
@@ -0,0 +1,24 @@
1
+grep.lineNumber::
2
+ If set to true, enable `-n` option by default.
3
+
4
+grep.column::
5
+ If set to true, enable the `--column` option by default.
6
+
7
+grep.patternType::
8
+ Set the default matching behavior. Using a value of 'basic', 'extended',
9
+ 'fixed', or 'perl' will enable the `--basic-regexp`, `--extended-regexp`,
10
+ `--fixed-strings`, or `--perl-regexp` option accordingly, while the
11
+ value 'default' will return to the default matching behavior.
12
+
13
+grep.extendedRegexp::
14
+ If set to true, enable `--extended-regexp` option by default. This
15
+ option is ignored when the `grep.patternType` option is set to a value
16
+ other than 'default'.
17
+
18
+grep.threads::
19
+ Number of grep worker threads to use.
20
+ See `grep.threads` in linkgit:git-grep[1] for more information.
21
+
22
+grep.fallbackToNoIndex::
23
+ If set to true, fall back to git grep --no-index if git grep
24
+ is executed outside of a git repository. Defaults to false.