]> git.ipfire.org Git - thirdparty/git.git/commit
submodule--helper: remove display path helper
authorGlen Choo <chooglen@google.com>
Fri, 1 Jul 2022 02:11:57 +0000 (19:11 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Jul 2022 05:41:46 +0000 (22:41 -0700)
commit5ad87271cfab6edb8eb6ad736747cd1a4f42bf83
treec0e36b7a7f2c0709ef588595e34c492789b8f8f5
parentd7a714fddc2062fd21fbeec779fb3b9034fc21c2
submodule--helper: remove display path helper

All invocations of do_get_submodule_displaypath() pass
get_super_prefix() as the super_prefix arg, which is exactly the same
as get_submodule_displaypath().

Replace all calls to do_get_submodule_displaypath() with
get_submodule_displaypath(), and since it has no more callers, remove
it.

Signed-off-by: Glen Choo <chooglen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c