From: Eddy Petrișor <eddy.petrisor@xxxxxxxxx> Signed-off-by: Eddy Petrișor <eddy.petrisor@xxxxxxxxx> --- t/t7406-submodule-update.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/t/t7406-submodule-update.sh b/t/t7406-submodule-update.sh index 7fb370991..974f949df 100755 --- a/t/t7406-submodule-update.sh +++ b/t/t7406-submodule-update.sh @@ -288,10 +288,7 @@ test_expect_success 'submodule update --remote --recursive --init should fetch m git commit -m "add l1 module with branch b1 in super5" && git submodule init submodl1b1 && git clone super5 super && - ( - cd super && - git submodule update --recursive --init - ) && + git -C super submodule update --recursive --init && ( cd submodl1b1 && git rev-parse --verify HEAD >../../actuall1 && -- 2.16.2