diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-02-25 15:47:35 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-25 15:47:36 -0800 |
commit | 5b84280c65bef19bc3a810e17474c9861ea7ce89 (patch) | |
tree | c534ac39e58573c776dcd9702636496a5cd000ad /xdiff/xprepare.h | |
parent | Merge branch 'js/apply-partial-clone-filters-recursively' (diff) | |
parent | grep: simplify config parsing and option parsing (diff) | |
download | tgif-5b84280c65bef19bc3a810e17474c9861ea7ce89.tar.xz |
Merge branch 'ab/grep-patterntype'
Some code clean-up in the "git grep" machinery.
* ab/grep-patterntype:
grep: simplify config parsing and option parsing
grep.c: do "if (bool && memchr())" not "if (memchr() && bool)"
grep.h: make "grep_opt.pattern_type_option" use its enum
grep API: call grep_config() after grep_init()
grep.c: don't pass along NULL callback value
built-ins: trust the "prefix" from run_builtin()
grep tests: add missing "grep.patternType" config tests
grep tests: create a helper function for "BRE" or "ERE"
log tests: check if grep_config() is called by "log"-like cmds
grep.h: remove unused "regex_t regexp" from grep_opt
Diffstat (limited to 'xdiff/xprepare.h')
0 files changed, 0 insertions, 0 deletions