зеркало из https://github.com/microsoft/git.git
Merge branch 'jc/t5516-pushInsteadOf-vs-pushURL'
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
This commit is contained in:
Коммит
41ae34d136
|
@ -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 &&
|
||||
|
|
Загрузка…
Ссылка в новой задаче