generate-cmdlist.sh: replace for loop by printf's auto-repeat feature
commit66d55b990ea093be180e816d28143b8952edd52b
authorJohannes Sixt <j6t@kdbg.org>
Fri, 5 Nov 2021 14:08:04 +0000 (5 15:08 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Nov 2021 19:01:13 +0000 (5 12:01 -0700)
tree619d4cde9577ba508fdc4148525c6df827d1e6ff
parent48bcd823d43f9aab4d843a4b1004137a96677f1f
generate-cmdlist.sh: replace for loop by printf's auto-repeat feature

This is just a small code reduction. There is a small probability that
the new code breaks when the category list is empty. But that would be
noticed during the compile step.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
generate-cmdlist.sh