summaryrefslogtreecommitdiff
path: root/fetch-negotiator.h
diff options
context:
space:
mode:
authorLibravatar Kaartic Sivaraam <kaartic.sivaraam@gmail.com>2021-06-22 23:44:52 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-06-28 20:28:19 -0700
commit1cf823d8f000e2c85a5cae9674cf38c1503f214d (patch)
tree9cca1dab7099aa942b31c66c80eb76fab51de0a9 /fetch-negotiator.h
parentGit 2.32 (diff)
downloadtgif-1cf823d8f000e2c85a5cae9674cf38c1503f214d.tar.xz
submodule: remove unnecessary `prefix` based option logic
Over time when parts of submodule have been ported from shell to builtin, many instances of the submodule helper have been added. Also added with them are some unnecessary option passing logic that are based on the `prefix` shell variable which never gets set in their code flows. On analysis, the only shell functions which have a valid usage for the `prefix` shell variable are: - cmd_update: which is the only function which sets the variable and thus uses it properly - cmd_init: which uses the variable via a call from cmd_update So, remove the unnecessary option parsing logic based on the `prefix` shell variable. Signed-off-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-negotiator.h')
0 files changed, 0 insertions, 0 deletions