Skip to content

Commit 6a29370

Browse files
committed
Merge branch 'jc/t5516-pushInsteadOf-vs-pushURL' into maint
* jc/t5516-pushInsteadOf-vs-pushURL: t5516: test interaction between pushURL and pushInsteadOf correctly
2 parents 41ccfdd + c68c408 commit 6a29370

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/t5516-fetch-push.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,10 @@ test_expect_success 'push with pushInsteadOf' '
230230

231231
test_expect_success 'push with pushInsteadOf and explicit pushurl (pushInsteadOf should not rewrite)' '
232232
mk_empty &&
233-
TRASH="$(pwd)/" &&
234-
git config "url.trash2/.pushInsteadOf" trash/ &&
233+
git config "url.trash2/.pushInsteadOf" testrepo/ &&
234+
git config "url.trash3/.pusnInsteadOf" trash/wrong &&
235235
git config remote.r.url trash/wrong &&
236-
git config remote.r.pushurl "$TRASH/testrepo" &&
236+
git config remote.r.pushurl "testrepo/" &&
237237
git push r refs/heads/master:refs/remotes/origin/master &&
238238
(
239239
cd testrepo &&

0 commit comments

Comments
 (0)