summaryrefslogtreecommitdiff
path: root/t/helper/test-hashmap.c
diff options
context:
space:
mode:
authorLibravatar Taylor Blau <me@ttaylorr.com>2022-01-06 14:50:15 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-01-06 14:15:33 -0800
commit0a6adc26e2efd2dcfb3e65407623287e08989a63 (patch)
treef1a87d7edb02c89b3bde5d9c88d92619f54f4413 /t/helper/test-hashmap.c
parentgrep: extract grep_binexp() from grep_or_expr() (diff)
downloadtgif-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/test-hashmap.c')
0 files changed, 0 insertions, 0 deletions