The second batch
[alt-git.git] / Documentation / config / grep.txt
blob10041f27b0c8e2d004c388a3fc7956b49c5614e9
1 grep.lineNumber::
2         If set to true, enable `-n` option by default.
4 grep.column::
5         If set to true, enable the `--column` option by default.
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'.
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'.
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.
23 grep.fullName::
24         If set to true, enable `--full-name` option by default.
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.