Skip to content

Commit ae74f7d

Browse files
committed
t7406: do not assume the "matching" push is the default
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 43eb920 commit ae74f7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t7406-submodule-update.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,14 +565,14 @@ test_expect_success 'submodule add places git-dir in superprojects git-dir recur
565565
git log > ../../../expected
566566
) &&
567567
git commit -m "added subsubmodule" &&
568-
git push
568+
git push origin :
569569
) &&
570570
(cd .git/modules/deeper/submodule/modules/subsubmodule &&
571571
git log > ../../../../../actual
572572
) &&
573573
git add deeper/submodule &&
574574
git commit -m "update submodule" &&
575-
git push &&
575+
git push origin : &&
576576
test_cmp actual expected
577577
)
578578
'

0 commit comments

Comments
 (0)