summaryrefslogtreecommitdiff
path: root/mailmap.c
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2018-11-13 19:52:39 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-11-14 15:27:55 +0900
commitcab53989f619abb08268a149b137567e8442a3ed (patch)
tree329b2ed1c153cc0f65d4c4cdedaa32c5ca6fafc5 /mailmap.c
parentTenth batch for 2.20 (diff)
downloadtgif-cab53989f619abb08268a149b137567e8442a3ed.tar.xz
remote.c: add braces in anticipation of a follow-up change
The CodingGuidelines say "When there are multiple arms to a conditional and some of them require braces, enclose even a single line block in braces for consistency.". Fix the code in match_explicit() to conform. While I'm at it change the if/else if/else in guess_ref() to use braces. This is not currently needed, but a follow-up change will add a new multi-line condition to that logic. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mailmap.c')
0 files changed, 0 insertions, 0 deletions