Skip to content

Commit

Permalink
Merge branch 'jc/t5516-pushInsteadOf-vs-pushURL'
Browse files Browse the repository at this point in the history
Update a test to match the documented interaction between pushURL
and pushInsteadOf.

* jc/t5516-pushInsteadOf-vs-pushURL:
  t5516: test interaction between pushURL and pushInsteadOf correctly
  • Loading branch information
Junio C Hamano committed Apr 3, 2013
2 parents e3b1173 + c68c408 commit 41ae34d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/t5516-fetch-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,10 @@ test_expect_success 'push with pushInsteadOf' '

test_expect_success 'push with pushInsteadOf and explicit pushurl (pushInsteadOf should not rewrite)' '
mk_empty &&
TRASH="$(pwd)/" &&
test_config "url.trash2/.pushInsteadOf" trash/ &&
test_config "url.trash2/.pushInsteadOf" testrepo/ &&
test_config "url.trash3/.pusnInsteadOf" trash/wrong &&
test_config remote.r.url trash/wrong &&
test_config remote.r.pushurl "$TRASH/testrepo" &&
test_config remote.r.pushurl "testrepo/" &&
git push r refs/heads/master:refs/remotes/origin/master &&
(
cd testrepo &&
Expand Down

0 comments on commit 41ae34d

Please sign in to comment.