summaryrefslogtreecommitdiff
path: root/t/helper/test-submodule.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-09-01 01:17:46 +0200
committerJunio C Hamano <gitster@pobox.com>2022-09-02 09:16:23 -0700
commit31955475d1c283120d5d84247eb3fd55d9f5fdd9 (patch)
tree8513ad9a6445efc276df5f454213c8312a663b6a /t/helper/test-submodule.c
parent76d63ddc467c28263d7c5f48baf3894354056743 (diff)
submodule--helper: remove unused "list" helper
Remove the "submodule--helper list" sub-command, which hasn't been used by git-submodule.sh since 2964d6e5e1e (submodule: port subcommand 'set-branch' from shell to C, 2020-06-02). There was a test added in 2b56bb7a87a (submodule helper list: respect correct path prefix, 2016-02-24) which relied on it, but the right thing to do here is to delete that test as well. That test was regression testing the "list" subcommand itself. We're not getting anything useful from the "list | cut -f2" invocation that we couldn't get from "foreach 'echo $sm_path'". Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Reviewed-by: Glen Choo <chooglen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-submodule.c')
0 files changed, 0 insertions, 0 deletions