aboutsummaryrefslogtreecommitdiff
path: root/t/t7406-submodule-update.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-01-04 16:19:19 -0800
committerJunio C Hamano <gitster@pobox.com>2013-01-04 22:28:41 -0800
commitae74f7d2895121b0931c575173e81a35e8893995 (patch)
tree21765bb514f65c3ca75c1d2f94db630832363c73 /t/t7406-submodule-update.sh
parent43eb92021058d899a8027128a11326310551c7cf (diff)
downloadgit-ae74f7d2895121b0931c575173e81a35e8893995.tar.gz
git-ae74f7d2895121b0931c575173e81a35e8893995.tar.xz
t7406: do not assume the "matching" push is the default
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7406-submodule-update.sh')
-rwxr-xr-xt/t7406-submodule-update.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t7406-submodule-update.sh b/t/t7406-submodule-update.sh
index feaec6cdf..c675ce629 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
)
'