summaryrefslogtreecommitdiff
path: root/t/t5516-fetch-push.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-01-04 16:08:26 -0800
committerJunio C Hamano <gitster@pobox.com>2013-01-04 22:28:41 -0800
commit0a42ac033115c752fd984373e4a70f10aee1a65f (patch)
tree956a4381c0f1bc9ab9d9c595d324e95a1a513d7e /t/t5516-fetch-push.sh
parentf10b7fcca6f7ae63b8c1b65ea520f226869836e7 (diff)
downloadgit-0a42ac033115c752fd984373e4a70f10aee1a65f.tar.gz
t5516: do not assume the "matching" push is the default
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5516-fetch-push.sh')
-rwxr-xr-xt/t5516-fetch-push.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/t/t5516-fetch-push.sh b/t/t5516-fetch-push.sh
index b5417cc951..1a8753d2eb 100755
--- a/t/t5516-fetch-push.sh
+++ b/t/t5516-fetch-push.sh
@@ -247,7 +247,7 @@ test_expect_success 'push with pushInsteadOf and explicit pushurl (pushInsteadOf
test_expect_success 'push with matching heads' '
mk_test heads/master &&
- git push testrepo &&
+ git push testrepo : &&
check_push_result $the_commit heads/master
'
@@ -276,7 +276,7 @@ test_expect_success 'push --force with matching heads' '
mk_test heads/master &&
git push testrepo : &&
git commit --amend -massaged &&
- git push --force testrepo &&
+ git push --force testrepo : &&
! check_push_result $the_commit heads/master &&
git reset --hard $the_commit
@@ -507,7 +507,7 @@ test_expect_success 'push with config remote.*.pushurl' '
git checkout master &&
git config remote.there.url test2repo &&
git config remote.there.pushurl testrepo &&
- git push there &&
+ git push there : &&
check_push_result $the_commit heads/master
'
@@ -521,7 +521,7 @@ test_expect_success 'push with dry-run' '
cd testrepo &&
old_commit=$(git show-ref -s --verify refs/heads/master)
) &&
- git push --dry-run testrepo &&
+ git push --dry-run testrepo : &&
check_push_result $old_commit heads/master
'
@@ -981,7 +981,7 @@ test_expect_success 'push --porcelain --dry-run rejected' '
test_expect_success 'push --prune' '
mk_test heads/master heads/second heads/foo heads/bar &&
- git push --prune testrepo &&
+ git push --prune testrepo : &&
check_push_result $the_commit heads/master &&
check_push_result $the_first_commit heads/second &&
! check_push_result $the_first_commit heads/foo heads/bar