summaryrefslogtreecommitdiffstats
path: root/builtin/grep.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-02-16 01:00:32 +0100
committerJunio C Hamano <gitster@pobox.com>2022-02-16 03:00:49 +0100
commitccb1fccc21331122ad1c7c247122cb7c48787361 (patch)
tree3ab94cfadfbdbd039198503515c1f7d573e37ec7 /builtin/grep.c
parentlog tests: check if grep_config() is called by "log"-like cmds (diff)
downloadgit-ccb1fccc21331122ad1c7c247122cb7c48787361.tar.xz
git-ccb1fccc21331122ad1c7c247122cb7c48787361.zip
grep tests: create a helper function for "BRE" or "ERE"
Refactor the repeated test code for finding out whether a given set of configuration will pick basic, extended or fixed into a new "test_pattern_type" helper function. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/grep.c')
0 files changed, 0 insertions, 0 deletions