summaryrefslogtreecommitdiff
path: root/Documentation/config
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-12-21 15:03:15 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-21 15:03:15 -0800
commit3770c21be99a1e387794ec21e9bfeb3c640376b6 (patch)
treed2bf9959c1a223b698ac1466999b6cd000a15fe8 /Documentation/config
parentMerge branch 'jk/log-decorate-opts-with-implicit-decorate' (diff)
parentgrep: clarify what `grep.patternType=default` means (diff)
downloadtgif-3770c21be99a1e387794ec21e9bfeb3c640376b6.tar.xz
Merge branch 'jc/grep-patterntype-default-doc'
Doc update. * jc/grep-patterntype-default-doc: grep: clarify what `grep.patternType=default` means
Diffstat (limited to 'Documentation/config')
-rw-r--r--Documentation/config/grep.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/config/grep.txt b/Documentation/config/grep.txt
index 44abe45a7c..182edd813a 100644
--- a/Documentation/config/grep.txt
+++ b/Documentation/config/grep.txt
@@ -8,7 +8,8 @@ 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.
+ value 'default' will use the `grep.extendedRegexp` option to choose
+ between 'basic' and 'extended'.
grep.extendedRegexp::
If set to true, enable `--extended-regexp` option by default. This