Raw
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 use the `grep.extendedRegexp` option to choose
12 between `basic` and `extended`.
13
14 `grep.extendedRegexp`::
15 If set to `true`, enable `--extended-regexp` option by default. This
16 option is ignored when the `grep.patternType` option is set to a value
17 other than `default`.
18
19 `grep.threads`::
20 Number of grep worker threads to use. If unset (or set to 0), Git will
21 use as many threads as the number of logical cores available.
22
23 `grep.fullName`::
24 If set to `true`, enable `--full-name` option by default.
25
26 `grep.fallbackToNoIndex`::
27 If set to `true`, fall back to `git grep --no-index` if `git grep`
28 is executed outside of a git repository. Defaults to `false`.