]> git.ipfire.org Git - thirdparty/git.git/commit
submodule--helper: libify determine_submodule_update_strategy()
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 31 Aug 2022 23:18:08 +0000 (01:18 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Sep 2022 16:16:24 +0000 (09:16 -0700)
commit484f9150e6eda45ba3ebdb1e64568bb294f791c6
tree09caa441d224fbcff8eb2410cf722638d66d2c82
parent2cb9294b99f62bb7439c99ba22898508ba4ff621
submodule--helper: libify determine_submodule_update_strategy()

Libify the determine_submodule_update_strategy() by having it invoke
die_message() rather than die(), and returning the code die_message()
returns on failure.

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