@@ -247,7 +247,7 @@ test_expect_success 'push with pushInsteadOf and explicit pushurl (pushInsteadOf
247
247
test_expect_success ' push with matching heads' '
248
248
249
249
mk_test heads/master &&
250
- git push testrepo &&
250
+ git push testrepo : &&
251
251
check_push_result $the_commit heads/master
252
252
253
253
'
@@ -276,7 +276,7 @@ test_expect_success 'push --force with matching heads' '
276
276
mk_test heads/master &&
277
277
git push testrepo : &&
278
278
git commit --amend -massaged &&
279
- git push --force testrepo &&
279
+ git push --force testrepo : &&
280
280
! check_push_result $the_commit heads/master &&
281
281
git reset --hard $the_commit
282
282
@@ -507,7 +507,7 @@ test_expect_success 'push with config remote.*.pushurl' '
507
507
git checkout master &&
508
508
git config remote.there.url test2repo &&
509
509
git config remote.there.pushurl testrepo &&
510
- git push there &&
510
+ git push there : &&
511
511
check_push_result $the_commit heads/master
512
512
'
513
513
@@ -521,7 +521,7 @@ test_expect_success 'push with dry-run' '
521
521
cd testrepo &&
522
522
old_commit=$(git show-ref -s --verify refs/heads/master)
523
523
) &&
524
- git push --dry-run testrepo &&
524
+ git push --dry-run testrepo : &&
525
525
check_push_result $old_commit heads/master
526
526
'
527
527
@@ -981,7 +981,7 @@ test_expect_success 'push --porcelain --dry-run rejected' '
981
981
982
982
test_expect_success ' push --prune' '
983
983
mk_test heads/master heads/second heads/foo heads/bar &&
984
- git push --prune testrepo &&
984
+ git push --prune testrepo : &&
985
985
check_push_result $the_commit heads/master &&
986
986
check_push_result $the_first_commit heads/second &&
987
987
! check_push_result $the_first_commit heads/foo heads/bar
0 commit comments