t7406: do not assume the "matching" push is the default
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Jan 4, 2013 at 16:19 UTC
ae74f7d2895121b0931c575173e81a35e8893995
1 file changed
+2
-2
t/t7406-submodule-update.sh
+2
-2
@@ -565,14 +565,14 @@ test_expect_success 'submodule add places git-dir in superprojects git-dir recur
565
git log > ../../../expected
566
) &&
567
git commit -m "added subsubmodule" &&
568
- git push
568
+ git push origin :
569
) &&
570
(cd .git/modules/deeper/submodule/modules/subsubmodule &&
571
git log > ../../../../../actual
572
) &&
573
git add deeper/submodule &&
574
git commit -m "update submodule" &&
575
- git push &&
575
+ git push origin : &&
576
test_cmp actual expected
577
)
578
'