diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2020-11-14 13:21:31 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-11-16 13:15:00 -0800 |
commit | e63f7b0acba326a47282036afffb83e2b3eb023d (patch) | |
tree | a8363646400cdf8ac0919e0fa57d1d00123dc041 /t/t5515/refs.master_.._.git_one_two | |
parent | submodule: use "fetch" logic instead of custom remote discovery (diff) | |
download | tgif-e63f7b0acba326a47282036afffb83e2b3eb023d.tar.xz |
submodule: remove sh function in favor of helper
Remove the now-redundant "get_default_remote" function by converting
its last user to the "print-default-remote" helper.
As can be seen in 13424764db ("submodule: port submodule subcommand
'sync' from shell to C", 2018-01-15) this helper is already used
internally by the C code for submodule remote name discovery.
The "get_default_remote" function in "git-parse-remote.sh" will be
removed in a follow-up change.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5515/refs.master_.._.git_one_two')
0 files changed, 0 insertions, 0 deletions