aboutsummaryrefslogtreecommitdiffstats
path: root/t/t7420-submodule-set-url.sh
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <heftig@archlinux.org>2023-10-03 20:50:44 +0200
committerJunio C Hamano <gitster@pobox.com>2023-10-03 15:32:27 -0700
commitb027fb07848bdfd84abdf1d6af2cf5d9e4592ffc (patch)
tree24836b817dd19720c468fb1e9044d0440cfbf36f /t/t7420-submodule-set-url.sh
parentsubmodule--helper: return error from set-url when modifying failed (diff)
downloadgit-b027fb07848bdfd84abdf1d6af2cf5d9e4592ffc.tar.gz
git-b027fb07848bdfd84abdf1d6af2cf5d9e4592ffc.zip
t7419: actually test the branch switching
The submodule repo the test set up had the 'topic' branch checked out, meaning the repo's default branch (HEAD) is the 'topic' branch. The following tests then pretended to switch between the default branch and the 'topic' branch. This was papered over by continually adding commits to the 'topic' branch and checking if the submodule gets updated to this new commit. Return the submodule repo to the 'main' branch after setup so we can actually test the switching behavior. Signed-off-by: Jan Alexander Steffens (heftig) <heftig@archlinux.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7420-submodule-set-url.sh')
0 files changed, 0 insertions, 0 deletions