t7406: do not assume the "matching" push is the default

Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Junio C Hamano 2013-01-04 16:19:19 -08:00
parent 43eb920210
commit ae74f7d289
1 changed files with 2 additions and 2 deletions

View File

@ -565,14 +565,14 @@ test_expect_success 'submodule add places git-dir in superprojects git-dir recur
git log > ../../../expected git log > ../../../expected
) && ) &&
git commit -m "added subsubmodule" && git commit -m "added subsubmodule" &&
git push git push origin :
) && ) &&
(cd .git/modules/deeper/submodule/modules/subsubmodule && (cd .git/modules/deeper/submodule/modules/subsubmodule &&
git log > ../../../../../actual git log > ../../../../../actual
) && ) &&
git add deeper/submodule && git add deeper/submodule &&
git commit -m "update submodule" && git commit -m "update submodule" &&
git push && git push origin : &&
test_cmp actual expected test_cmp actual expected
) )
' '