aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <heftig@archlinux.org>2023-10-03 20:50:42 +0200
committerJunio C Hamano <gitster@pobox.com>2023-10-03 15:30:42 -0700
commit6327085aa027b7d5936912bed596a3cf86953439 (patch)
treeb28bfc87e756914234f5f584991ada0916fd5f60 /builtin/commit.c
parentThe fourteenth batch (diff)
downloadgit-6327085aa027b7d5936912bed596a3cf86953439.tar.gz
git-6327085aa027b7d5936912bed596a3cf86953439.zip
submodule--helper: use submodule_from_path in set-{url,branch}
The commands need a path to a submodule but treated it as the name when modifying the .gitmodules file, leading to confusion when a submodule's name does not match its path. Because calling submodule_from_path initializes the submodule cache, we need to manually trigger a reread before syncing, as the cache is missing the config change we just made. Signed-off-by: Jan Alexander Steffens (heftig) <heftig@archlinux.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions