]> git.ipfire.org Git - thirdparty/git.git/commit
t/lib-submodule-update: move a test to the right section
authorPhilippe Blain <levraiphilippeblain@gmail.com>
Mon, 17 Feb 2020 04:53:03 +0000 (04:53 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Feb 2020 23:26:54 +0000 (15:26 -0800)
commit8d48dd1988e90c7bfa966eb324ed98849528502a
treeeec2ac408523826cd8078daee21e0da49a4712cd
parentd5779b61d83e099a7c9249010dbd1aa1417efba0
t/lib-submodule-update: move a test to the right section

The test "$command: submodule branch is not changed, detach HEAD
instead" is in the "Appearing submodule" section of
test_submodule_recursing_with_args_common(), but this test updates a
submodule; it does not test a transition from a state with no submodule
to a state with a submodule.

As such, for consistency, move it to the "Modified submodule" section of
the same function. While at it, add a comment describing the test.

Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-submodule-update.sh