aboutsummaryrefslogtreecommitdiffstats
path: root/url.c
diff options
context:
space:
mode:
authorAdrian Ratiu <adrian.ratiu@collabora.com>2025-11-07 17:05:44 +0200
committerJunio C Hamano <gitster@pobox.com>2025-11-07 09:01:11 -0800
commit69fe57ebf7c97cbdabd785a3f7cd5ab783b5c3e6 (patch)
treeed2b2587f8a247cd667ec3e12fae39cc0012b171 /url.c
parentMerge branch 'dk/parseopt-optional-filename-fixes' (diff)
downloadgit-69fe57ebf7c97cbdabd785a3f7cd5ab783b5c3e6.tar.gz
git-69fe57ebf7c97cbdabd785a3f7cd5ab783b5c3e6.zip
submodule--helper: use submodule_name_to_gitdir in add_submodule
While testing submodule gitdir path encoding, I noticed submodule--helper is still using a hardcoded modules gitdir path leading to test failures. Call the submodule_name_to_gitdir() helper instead, which was invented exactly for this purpose and is already used by all the other locations which work on gitdirs. Also narrow the scope of the submod_gitdir_path variable which is not used anymore in the updated "else" branch. Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'url.c')
0 files changed, 0 insertions, 0 deletions