]> git.ipfire.org Git - thirdparty/git.git/commit
submodule--helper: return error from set-url when modifying failed
authorJan Alexander Steffens (heftig) <heftig@archlinux.org>
Tue, 3 Oct 2023 18:50:43 +0000 (20:50 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Oct 2023 22:30:43 +0000 (15:30 -0700)
commit387c122131a9f8e4a67122d53955133d099b64a7
tree9dc8a3ab420ca5256b5e8e29e5e80f5239bbff58
parent6327085aa027b7d5936912bed596a3cf86953439
submodule--helper: return error from set-url when modifying failed

set-branch will return an error when setting the config fails so I don't
see why set-url shouldn't. Also skip the sync in this case.

Signed-off-by: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c