summaryrefslogtreecommitdiff
path: root/sideband.c
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2021-12-09 00:11:11 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-13 10:29:48 -0800
commitefe26b9ee09d53dda0f36d0ea20cb245b934f216 (patch)
treed5daf1aaf168c03129ef8b63cc1375cba959bdd2 /sideband.c
parenttests: apply modern idiom for exiting loop upon failure (diff)
downloadtgif-efe26b9ee09d53dda0f36d0ea20cb245b934f216.tar.xz
tests: simplify by dropping unnecessary `for` loops
Rather than manually looping over a set of items and plugging those items into a template string which is printed repeatedly, achieve the same effect by taking advantage of `printf` which loops over its arguments automatically. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Reviewed-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sideband.c')
0 files changed, 0 insertions, 0 deletions