]> git.ipfire.org Git - thirdparty/git.git/commit - ref-filter.c
ref-filter: add braces to if/else if/else chain
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 7 Jan 2021 09:51:49 +0000 (10:51 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Jan 2021 23:13:21 +0000 (15:13 -0800)
commit75c50e599ca4fe2fcf864cfa491c8035513e6cdb
treebd4909f4a5baae437a8202307b068184e5f54be9
parent08bf6a8bc351a720f07e1afecb46b1bfae64c7ab
ref-filter: add braces to if/else if/else chain

Per the CodingGuidelines add braces to an if/else if/else chain where
only the "else" had braces. This is in preparation for a subsequent
change where the "else if" will have lines added to it.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ref-filter.c