summaryrefslogtreecommitdiffstats
path: root/khash.h
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2022-01-06 20:50:15 +0100
committerJunio C Hamano <gitster@pobox.com>2022-01-06 23:15:33 +0100
commit0a6adc26e2efd2dcfb3e65407623287e08989a63 (patch)
treef1a87d7edb02c89b3bde5d9c88d92619f54f4413 /khash.h
parentgrep: extract grep_binexp() from grep_or_expr() (diff)
downloadgit-0a6adc26e2efd2dcfb3e65407623287e08989a63.tar.xz
git-0a6adc26e2efd2dcfb3e65407623287e08989a63.zip
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 'khash.h')
0 files changed, 0 insertions, 0 deletions