diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2021-12-09 00:11:11 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-13 10:29:48 -0800 |
commit | efe26b9ee09d53dda0f36d0ea20cb245b934f216 (patch) | |
tree | d5daf1aaf168c03129ef8b63cc1375cba959bdd2 /cache-tree.h | |
parent | tests: apply modern idiom for exiting loop upon failure (diff) | |
download | tgif-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 'cache-tree.h')
0 files changed, 0 insertions, 0 deletions