summaryrefslogtreecommitdiff
path: root/builtin/commit-graph.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2024-07-30 16:12:36 +0200
committerJunio C Hamano <gitster@pobox.com>2024-07-30 13:32:44 -0700
commit9ddec6b79af6786bc628e66a75f47040fea1857b (patch)
tree02b26ee6c9a84a6aef575e8d61e7cf9cac51274a /builtin/commit-graph.c
parent2c4a6a8d9c550ca863511e9787982558d3698182 (diff)
t-strvec: use if_test
The macro TEST takes a single expression. If a test requires multiple statements then they need to be placed in a function that's called in the TEST expression. Remove the cognitive overhead of defining and calling single-use functions by using if_test instead. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions