summaryrefslogtreecommitdiff
path: root/command-list.txt
diff options
context:
space:
mode:
authorLibravatar Atharva Raykar <raykar.ath@gmail.com>2021-08-10 17:16:34 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-08-10 11:45:11 -0700
commitab6f23b75129bc20681c0941cdd01d2694bc54f4 (patch)
tree23a93ee459f04a476d1e8deba36950a5cc64ca58 /command-list.txt
parentsubmodule--helper: add options for compute_submodule_clone_url() (diff)
downloadtgif-ab6f23b75129bc20681c0941cdd01d2694bc54f4.tar.xz
submodule--helper: refactor resolve_relative_url() helper
Refactor the helper function to resolve a relative url, by reusing the existing `compute_submodule_clone_url()` function. `compute_submodule_clone_url()` performs the same work that `resolve_relative_url()` is doing, so we eliminate this code repetition by moving the former function's definition up, and calling it inside `resolve_relative_url()`. 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>
Diffstat (limited to 'command-list.txt')
0 files changed, 0 insertions, 0 deletions