summaryrefslogtreecommitdiff
path: root/add-interactive.h
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-04-02 13:34:33 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-04-02 14:32:29 -0700
commitb362acf575424bcfea6444ce6cbfe3c3aa3f1192 (patch)
tree13199bd53b30ee887bf4441279ba1cffbe9e4afc /add-interactive.h
parentThe fifth batch (diff)
downloadtgif-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 'add-interactive.h')
0 files changed, 0 insertions, 0 deletions