aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorAtharva Raykar <raykar.ath@gmail.com>2022-03-04 16:13:57 -0800
committerJunio C Hamano <gitster@pobox.com>2022-03-04 16:39:12 -0800
commit3ce52cba5b283af1f5dbebfe43aeea5d3421dac6 (patch)
treee194e8c239f489a88409299cdba7a45bde68701b /commit-graph.c
parentsubmodule--helper: refactor get_submodule_displaypath() (diff)
downloadgit-3ce52cba5b283af1f5dbebfe43aeea5d3421dac6.tar.gz
git-3ce52cba5b283af1f5dbebfe43aeea5d3421dac6.zip
submodule--helper: allow setting superprefix for init_submodule()
We allow callers of the `init_submodule()` function to optionally override the superprefix from the environment. We need to enable this option because in our conversion of the update command that will follow, the '--init' option will be handled through this API. We will need to change the superprefix at that time to ensure the display paths show correctly in the output messages. Mentored-by: Christian Couder <christian.couder@gmail.com> Mentored-by: Shourya Shukla <periperidip@gmail.com> Signed-off-by: Atharva Raykar <raykar.ath@gmail.com> Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions