t5526: test recursive submodules when fetching moved submodules
The topic merged in 0c7ecb7c311 (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 <sbeller@google.com> Acked-by: Heiko Voigt <hvoigt@hvoigt.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Stefan Beller committed
Jun 14, 2018 at 10:37 UTC
c3749f6e597a7b8140181fa5efc95f3f08595f8c
1 file changed
+1
-5
t/t5526-fetch-submodules.sh
+1
-5
@@ -574,11 +574,7 @@ test_expect_success "fetch new commits when submodule got renamed" '
574
git clone . downstream_rename &&
575
(
576
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 &&
578
git checkout -b rename &&
579
git mv submodule submodule_renamed &&
580
(