From: W. Trevor King Date: Sun, 2 Dec 2012 17:52:12 +0000 (-0500) Subject: t7406: explicitly update deeper/submodule X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c08f67efef7f9bdd63edcccd813b26556ccd011c;p=git.git t7406: explicitly update deeper/submodule Without a way to turn submodules on and off, a bare update tries to update every submodule. However, the other submodule changes haven't been pushed back to the upstream submodules, so a full update fails. Signed-off-by: W. Trevor King --- diff --git a/t/t7406-submodule-update.sh b/t/t7406-submodule-update.sh index 15426530e..24890c1ac 100755 --- a/t/t7406-submodule-update.sh +++ b/t/t7406-submodule-update.sh @@ -546,7 +546,7 @@ test_expect_success 'submodule update places git-dir in superprojects git-dir' ' git clone super super2 && (cd super2 && git submodule init deeper/submodule && - git submodule update && + git submodule update deeper/submodule && (cd deeper/submodule && git log > ../../expected ) &&