aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-04-12 13:41:45 -0700
committerJunio C Hamano <gitster@pobox.com>2013-04-12 13:41:45 -0700
commit6a293703afb10125fdff7a57a80e88298ac3f584 (patch)
tree180bc2c3d504cce116e25ce7d80e52375e2b9d60
parent41ccfdd9c931ee71b09f38f4eb19cf44a8e4381d (diff)
parentc68c408a7a53736ae087a68ad0ce2cf7c4cab0a2 (diff)
downloadgit-6a293703afb10125fdff7a57a80e88298ac3f584.tar.gz
git-6a293703afb10125fdff7a57a80e88298ac3f584.tar.xz
Merge branch 'jc/t5516-pushInsteadOf-vs-pushURL' into maint
* jc/t5516-pushInsteadOf-vs-pushURL: t5516: test interaction between pushURL and pushInsteadOf correctly
-rwxr-xr-xt/t5516-fetch-push.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t5516-fetch-push.sh b/t/t5516-fetch-push.sh
index c31e5c1c5..9a21cd61d 100755
--- a/t/t5516-fetch-push.sh
+++ b/t/t5516-fetch-push.sh
@@ -230,10 +230,10 @@ test_expect_success 'push with pushInsteadOf' '
test_expect_success 'push with pushInsteadOf and explicit pushurl (pushInsteadOf should not rewrite)' '
mk_empty &&
- TRASH="$(pwd)/" &&
- git config "url.trash2/.pushInsteadOf" trash/ &&
+ git config "url.trash2/.pushInsteadOf" testrepo/ &&
+ git config "url.trash3/.pusnInsteadOf" trash/wrong &&
git config remote.r.url trash/wrong &&
- git config remote.r.pushurl "$TRASH/testrepo" &&
+ git config remote.r.pushurl "testrepo/" &&
git push r refs/heads/master:refs/remotes/origin/master &&
(
cd testrepo &&