summaryrefslogtreecommitdiff
path: root/t/t4029-diff-trailing-space.sh
diff options
context:
space:
mode:
authorLibravatar Atharva Raykar <raykar.ath@gmail.com>2021-08-10 17:16:35 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-08-10 11:45:11 -0700
commit0c61041ed6778db86184d7a0d9759085f3cb9a82 (patch)
tree32f80601fc7a7e2de83a12f371e452e7929a3134 /t/t4029-diff-trailing-space.sh
parentsubmodule--helper: refactor resolve_relative_url() helper (diff)
downloadtgif-0c61041ed6778db86184d7a0d9759085f3cb9a82.tar.xz
submodule--helper: remove repeated code in sync_submodule()
This part of `sync_submodule()` is doing the same thing that `compute_submodule_clone_url()` is doing. Let's reuse that helper here. Note that this change adds a small overhead where we allocate and free the 'remote' twice, but that is a small price to pay for the higher level of abstraction we get. 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 't/t4029-diff-trailing-space.sh')
0 files changed, 0 insertions, 0 deletions