Skip to content

Commit c3749f6

Browse files
stefanbellergitster
authored andcommitted
t5526: test recursive submodules when fetching moved submodules
The topic merged in 0c7ecb7 (Merge branch 'sb/submodule-move-nested', 2018-05-08) provided support for moving nested submodules. Remove the NEEDSWORK comment and implement the nested submodules test as the comment hinted at. Signed-off-by: Stefan Beller <[email protected]> Acked-by: Heiko Voigt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5fc8475 commit c3749f6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

t/t5526-fetch-submodules.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -574,11 +574,7 @@ test_expect_success "fetch new commits when submodule got renamed" '
574574
git clone . downstream_rename &&
575575
(
576576
cd downstream_rename &&
577-
git submodule update --init &&
578-
# NEEDSWORK: we omitted --recursive for the submodule update here since
579-
# that does not work. See test 7001 for mv "moving nested submodules"
580-
# for details. Once that is fixed we should add the --recursive option
581-
# here.
577+
git submodule update --init --recursive &&
582578
git checkout -b rename &&
583579
git mv submodule submodule_renamed &&
584580
(

0 commit comments

Comments
 (0)