summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-06-14 17:37:30 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-06-14 21:02:24 (GMT)
commitc3749f6e597a7b8140181fa5efc95f3f08595f8c (patch)
treefbfaff4d1b0630aac4cb371a6fd85de9e2bf8752 /t
parent5fc84755f1478ea8c0f05b8d7be67a3c96a24bff (diff)
downloadgit-c3749f6e597a7b8140181fa5efc95f3f08595f8c.zip
git-c3749f6e597a7b8140181fa5efc95f3f08595f8c.tar.gz
git-c3749f6e597a7b8140181fa5efc95f3f08595f8c.tar.bz2
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>
Diffstat (limited to 't')
-rwxr-xr-xt/t5526-fetch-submodules.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/t/t5526-fetch-submodules.sh b/t/t5526-fetch-submodules.sh
index 9cc4b56..359e03f 100755
--- a/t/t5526-fetch-submodules.sh
+++ b/t/t5526-fetch-submodules.sh
@@ -574,11 +574,7 @@ test_expect_success "fetch new commits when submodule got renamed" '
git clone . downstream_rename &&
(
cd downstream_rename &&
- git submodule update --init &&
-# NEEDSWORK: we omitted --recursive for the submodule update here since
-# that does not work. See test 7001 for mv "moving nested submodules"
-# for details. Once that is fixed we should add the --recursive option
-# here.
+ git submodule update --init --recursive &&
git checkout -b rename &&
git mv submodule submodule_renamed &&
(