提交 ae74f7d2 编写于 作者: J Junio C Hamano

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

Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 43eb9202
...@@ -565,14 +565,14 @@ test_expect_success 'submodule add places git-dir in superprojects git-dir recur ...@@ -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
) )
' '
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册