]> git.ipfire.org Git - thirdparty/git.git/commit
submodule--helper: rename compute_submodule_clone_url()
authorAtharva Raykar <raykar.ath@gmail.com>
Tue, 10 Aug 2021 11:46:41 +0000 (17:16 +0530)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Aug 2021 18:45:12 +0000 (11:45 -0700)
commitde0fcbe0f4987dcaa238daa0d0f9cce17afe0495
tree6c33caa9e87d9be464f8a58f8434d246992e1722
parent15fe88d5a6275c79eb0a4e6e56b5bf5d0a30a4fc
submodule--helper: rename compute_submodule_clone_url()

Let's rename 'compute_submodule_clone_url()' to 'resolve_relative_url()'
to make it clear that this internal helper need not be used exclusively
for computing submodule clone URLs.

Since the original 'resolve-relative-url' subcommand and its C entry
point has been removed in c461095ae3 (submodule--helper: remove
resolve-relative-url subcommand, 2021-07-02), this rename can be done
without causing any confusion about which function it actually binds to.

Signed-off-by: Atharva Raykar <raykar.ath@gmail.com>
Mentored-by: Christian Couder <christian.couder@gmail.com>
Mentored-by: Shourya Shukla <periperidip@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c