aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-09-01 01:18:04 +0200
committerJunio C Hamano <gitster@pobox.com>2022-09-02 09:16:24 -0700
commit08c2e778d6b16296aebfccd609ad09db9d40764a (patch)
treede53c515d9228c17501fab9fd9b97a58569241ee /commit-graph.c
parentsubmodule--helper: add missing braces to "else" arm (diff)
downloadgit-08c2e778d6b16296aebfccd609ad09db9d40764a.tar.gz
git-08c2e778d6b16296aebfccd609ad09db9d40764a.zip
submodule--helper: don't call submodule_strategy_to_string() in BUG()
Don't call submodule_strategy_to_string() in a BUG() message. These calls added in c51f8f94e5b (submodule--helper: run update procedures from C, 2021-08-24) don't need the extra information submodule_strategy_to_string() gives us, as we'll never reach the SM_UPDATE_COMMAND case here. That case is the only one where we'd get any information beyond the straightforward number-to-string mapping. 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>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions