From: Junio C Hamano Date: Sat, 05 Jan 2013 06:53:05 GMT Subject: [PATCH 07/10] t7406: do not assume the "matching" push is the default Message-ID: <1357368788-28035-8-git-send-email-gitster@pobox.com> In-Reply-To: <1357368788-28035-1-git-send-email-gitster@pobox.com> Signed-off-by: Junio C Hamano --- t/t7406-submodule-update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t7406-submodule-update.sh b/t/t7406-submodule-update.sh index feaec6c..c675ce6 100755 --- a/t/t7406-submodule-update.sh +++ b/t/t7406-submodule-update.sh @@ -565,14 +565,14 @@ test_expect_success 'submodule add places git-dir in superprojects git-dir recur git log > ../../../expected ) && git commit -m "added subsubmodule" && - git push + git push origin : ) && (cd .git/modules/deeper/submodule/modules/subsubmodule && git log > ../../../../../actual ) && git add deeper/submodule && git commit -m "update submodule" && - git push && + git push origin : && test_cmp actual expected ) ' -- 1.8.1.299.gc73b41f