diff options
author | J Smith <dark.panda@gmail.com> | 2012-08-03 10:53:50 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-08-03 09:58:02 -0700 |
commit | 84befcd0a4a074e2ae191c32be09d2e82d5db114 (patch) | |
tree | c33fa66c5a950c3fc572a87167a1b0d4b1cc9036 /t/t5515/fetch.br-config-explicit-octopus_config-explicit | |
parent | Git 1.7.11.4 (diff) | |
download | tgif-84befcd0a4a074e2ae191c32be09d2e82d5db114.tar.xz |
grep: add a grep.patternType configuration setting
The grep.extendedRegexp configuration setting enables the -E flag on grep
by default but there are no equivalents for the -G, -F and -P flags.
Rather than adding an additional setting for grep.fooRegexp for current
and future pattern matching options, add a grep.patternType setting that
can accept appropriate values for modifying the default grep pattern
matching behavior. The current values are "basic", "extended", "fixed",
"perl" and "default" for setting -G, -E, -F, -P and the default behavior
respectively.
When grep.patternType is set to a value other than "default", the
grep.extendedRegexp setting is ignored. The value of "default" restores
the current default behavior, including the grep.extendedRegexp
behavior.
Signed-off-by: J Smith <dark.panda@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5515/fetch.br-config-explicit-octopus_config-explicit')
0 files changed, 0 insertions, 0 deletions