diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-02-16 01:00:32 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-15 18:00:49 -0800 |
commit | ccb1fccc21331122ad1c7c247122cb7c48787361 (patch) | |
tree | 3ab94cfadfbdbd039198503515c1f7d573e37ec7 /builtin/commit.c | |
parent | ff37a60c36959cc1d774e1a9b266291962e8624d (diff) |
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/commit.c')
0 files changed, 0 insertions, 0 deletions