diff options
author | René Scharfe <l.s.r@web.de> | 2024-07-30 16:12:36 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-07-30 13:32:44 -0700 |
commit | 9ddec6b79af6786bc628e66a75f47040fea1857b (patch) | |
tree | 02b26ee6c9a84a6aef575e8d61e7cf9cac51274a /builtin/commit-graph.c | |
parent | 2c4a6a8d9c550ca863511e9787982558d3698182 (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