summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-12-21 23:03:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-12-21 23:03:15 (GMT)
commit3770c21be99a1e387794ec21e9bfeb3c640376b6 (patch)
treed2bf9959c1a223b698ac1466999b6cd000a15fe8 /Documentation
parent00cbaf93628282779504b470653ad239c4eca463 (diff)
parent91028f7659c165eb48910d333a78e4dac9cff2b6 (diff)
downloadgit-3770c21be99a1e387794ec21e9bfeb3c640376b6.zip
git-3770c21be99a1e387794ec21e9bfeb3c640376b6.tar.gz
git-3770c21be99a1e387794ec21e9bfeb3c640376b6.tar.bz2
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')
-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 44abe45..182edd8 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