summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-10-27 06:23:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-10-29 01:17:01 (GMT)
commit434e6e753febfda1d8331d07890f2e3fae5931e3 (patch)
tree72243ccdd20836cc1122e3e104284617d0dc45c1 /Documentation
parent0648b769747d68d91b527ed775aeceec0dcef675 (diff)
downloadgit-434e6e753febfda1d8331d07890f2e3fae5931e3.zip
git-434e6e753febfda1d8331d07890f2e3fae5931e3.tar.gz
git-434e6e753febfda1d8331d07890f2e3fae5931e3.tar.bz2
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt25
-rw-r--r--Documentation/config/grep.txt24
2 files changed, 25 insertions, 24 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 99ac8fc..177fefc 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -339,30 +339,7 @@ include::config/gitcvs.txt[]
include::config/gitweb.txt[]
-grep.lineNumber::
- If set to true, enable `-n` option by default.
-
-grep.column::
- If set to true, enable the `--column` option by default.
-
-grep.patternType::
- Set the default matching behavior. Using a value of 'basic', 'extended',
- 'fixed', or 'perl' will enable the `--basic-regexp`, `--extended-regexp`,
- `--fixed-strings`, or `--perl-regexp` option accordingly, while the
- value 'default' will return to the default matching behavior.
-
-grep.extendedRegexp::
- If set to true, enable `--extended-regexp` option by default. This
- option is ignored when the `grep.patternType` option is set to a value
- other than 'default'.
-
-grep.threads::
- Number of grep worker threads to use.
- See `grep.threads` in linkgit:git-grep[1] for more information.
-
-grep.fallbackToNoIndex::
- If set to true, fall back to git grep --no-index if git grep
- is executed outside of a git repository. Defaults to false.
+include::config/grep.txt[]
gpg.program::
Use this custom program instead of "`gpg`" found on `$PATH` when
diff --git a/Documentation/config/grep.txt b/Documentation/config/grep.txt
new file mode 100644
index 0000000..44abe45
--- /dev/null
+++ b/Documentation/config/grep.txt
@@ -0,0 +1,24 @@
+grep.lineNumber::
+ If set to true, enable `-n` option by default.
+
+grep.column::
+ If set to true, enable the `--column` option by default.
+
+grep.patternType::
+ Set the default matching behavior. Using a value of 'basic', 'extended',
+ 'fixed', or 'perl' will enable the `--basic-regexp`, `--extended-regexp`,
+ `--fixed-strings`, or `--perl-regexp` option accordingly, while the
+ value 'default' will return to the default matching behavior.
+
+grep.extendedRegexp::
+ If set to true, enable `--extended-regexp` option by default. This
+ option is ignored when the `grep.patternType` option is set to a value
+ other than 'default'.
+
+grep.threads::
+ Number of grep worker threads to use.
+ See `grep.threads` in linkgit:git-grep[1] for more information.
+
+grep.fallbackToNoIndex::
+ If set to true, fall back to git grep --no-index if git grep
+ is executed outside of a git repository. Defaults to false.