diff options
| author | Jan Alexander Steffens (heftig) <heftig@archlinux.org> | 2023-10-03 20:50:42 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-10-03 15:30:42 -0700 |
| commit | 6327085aa027b7d5936912bed596a3cf86953439 (patch) | |
| tree | b28bfc87e756914234f5f584991ada0916fd5f60 /builtin/commit.c | |
| parent | The fourteenth batch (diff) | |
| download | git-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
