]> git.ipfire.org Git - thirdparty/git.git/commit
submodule--helper: add missing braces to "else" arm
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 31 Aug 2022 23:18:03 +0000 (01:18 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Sep 2022 16:16:24 +0000 (09:16 -0700)
commit96a907376b10c42879dafc7f6b4842f8dbc04597
treebddce0e651bd87aad1760cf74bfe340becd293d9
parent0b917a9f5cb21ca1655daf549108361602e912f3
submodule--helper: add missing braces to "else" arm

Add missing braces to an "else" arm in init_submodule(), this
stylistic change makes this code conform to the CodingGuidelines, and
makes a subsequent commit smaller.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Reviewed-by: Glen Choo <chooglen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c