summaryrefslogtreecommitdiffstats
path: root/t/t7406-submodule-update.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-01-05 01:19:19 +0100
committerJunio C Hamano <gitster@pobox.com>2013-01-05 07:28:41 +0100
commitae74f7d2895121b0931c575173e81a35e8893995 (patch)
tree21765bb514f65c3ca75c1d2f94db630832363c73 /t/t7406-submodule-update.sh
parentt5531: do not assume the "matching" push is the default (diff)
downloadgit-ae74f7d2895121b0931c575173e81a35e8893995.tar.xz
git-ae74f7d2895121b0931c575173e81a35e8893995.zip
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 feaec6cdf4..c675ce6297 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
)
'