diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-04-02 13:34:33 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-02 14:32:29 -0700 |
commit | b362acf575424bcfea6444ce6cbfe3c3aa3f1192 (patch) | |
tree | 13199bd53b30ee887bf4441279ba1cffbe9e4afc /t/chainlint/comment.test | |
parent | The fifth batch (diff) | |
download | tgif-b362acf575424bcfea6444ce6cbfe3c3aa3f1192.tar.xz |
git-send-email: replace "map" in void context with "for"
While using "map" instead of "for" or "map" instead of "grep" and
vice-versa makes for interesting trivia questions when interviewing
Perl programmers, it doesn't make for very readable code. Let's
refactor this loop initially added in 8fd5bb7f44b (git send-email: add
--annotate option, 2008-11-11) to be a for-loop instead.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/chainlint/comment.test')
0 files changed, 0 insertions, 0 deletions