Skip to content

Commit 3770c21

Browse files
committed
Merge branch 'jc/grep-patterntype-default-doc'
Doc update. * jc/grep-patterntype-default-doc: grep: clarify what `grep.patternType=default` means
2 parents 00cbaf9 + 91028f7 commit 3770c21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/config/grep.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ grep.patternType::
88
Set the default matching behavior. Using a value of 'basic', 'extended',
99
'fixed', or 'perl' will enable the `--basic-regexp`, `--extended-regexp`,
1010
`--fixed-strings`, or `--perl-regexp` option accordingly, while the
11-
value 'default' will return to the default matching behavior.
11+
value 'default' will use the `grep.extendedRegexp` option to choose
12+
between 'basic' and 'extended'.
1213

1314
grep.extendedRegexp::
1415
If set to true, enable `--extended-regexp` option by default. This

0 commit comments

Comments
 (0)