diff options
author | Taylor Blau <me@ttaylorr.com> | 2022-01-06 14:50:15 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-06 14:15:33 -0800 |
commit | 0a6adc26e2efd2dcfb3e65407623287e08989a63 (patch) | |
tree | f1a87d7edb02c89b3bde5d9c88d92619f54f4413 /t/helper/.gitignore | |
parent | grep: extract grep_binexp() from grep_or_expr() (diff) | |
download | tgif-0a6adc26e2efd2dcfb3e65407623287e08989a63.tar.xz |
grep: use grep_and_expr() in compile_pattern_and()
In a similar spirit as a previous commit, use the new `grep_and_expr()`
to construct the AND node in `compile_pattern_and()`.
Unlike the aforementioned previous commit, this is not about code
duplication, since this is the only spot in grep.c where an AND node is
constructed. Rather, this is about visual consistency with the other
`compile_pattern_xyz()` functions.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/.gitignore')
0 files changed, 0 insertions, 0 deletions