diff options
| author | Atharva Raykar <raykar.ath@gmail.com> | 2022-03-04 16:13:57 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-03-04 16:39:12 -0800 |
| commit | 3ce52cba5b283af1f5dbebfe43aeea5d3421dac6 (patch) | |
| tree | e194e8c239f489a88409299cdba7a45bde68701b /git-submodule.sh | |
| parent | 5312a850b882d5e4b61b3590a151d41d9a1e8767 (diff) | |
| download | git-3ce52cba5b283af1f5dbebfe43aeea5d3421dac6.tar.gz | |
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 'git-submodule.sh')
0 files changed, 0 insertions, 0 deletions
