]> git.ipfire.org Git - thirdparty/git.git/commit
submodule--helper: add "const" to passed "struct update_data"
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 31 Aug 2022 23:17:58 +0000 (01:17 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Sep 2022 16:16:23 +0000 (09:16 -0700)
commita253be682f96bcb66ea427b9f7421f16dc063676
tree600c5e27cd3612e8bc148fcc9760f365fa6e3308
parent1da635b84d438d46f1a87ee49bea416513193785
submodule--helper: add "const" to passed "struct update_data"

Add a "const" to the "struct update_data" passed to
run_update_procedure(), which it in turn passes along (peeled) to
is_tip_reachable() and fetch_in_submodule()).

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