aboutsummaryrefslogtreecommitdiffstats
path: root/submodule.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-06-28 12:05:24 +0200
committerJunio C Hamano <gitster@pobox.com>2022-06-28 13:13:17 -0700
commit960fad98e8a8d4c123bb5040f616f856cb9925ea (patch)
tree0ade8c0f544fa432bfc5030d6d0147f13a63b01f /submodule.c
parent85775255f18e0a6a6b2e65394bc18ec440dba99d (diff)
downloadgit-960fad98e8a8d4c123bb5040f616f856cb9925ea.tar.gz
git-submodule.sh: remove unused $prefix variable
Remove the $prefix variable which isn't used anymore, and hasn't been since b3c5f5cb048 (submodule: move core cmd_update() logic to C, 2022-03-15). Before that we'd use it to invoke "git submodule--helper" with the "--recursive-prefix" option, but since b3c5f5cb048 that "git submodule--helper" option is only used when it invokes itself. So the "--recursive-prefix" option is still in use, but at this point only when the helper invokes itself during submodule recursion. See the "--recursive-prefix" option added in c51f8f94e5b (submodule--helper: run update procedures from C, 2021-08-24). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.c')
0 files changed, 0 insertions, 0 deletions