mirror of
https://github.com/git/git.git
synced 2024-11-25 02:44:48 +08:00
t5516: correct misspelled pushInsteadOf
A future breakage to "git push" to make it incorrectly pay attention to pushInsteadOf when it should not will be left uncaught without this change. Signed-off-by: Anders Kaseorg <andersk@mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
282616c72d
commit
eb32c66e8d
@ -237,7 +237,7 @@ test_expect_success 'push with pushInsteadOf' '
|
||||
test_expect_success 'push with pushInsteadOf and explicit pushurl (pushInsteadOf should not rewrite)' '
|
||||
mk_empty testrepo &&
|
||||
test_config "url.trash2/.pushInsteadOf" testrepo/ &&
|
||||
test_config "url.trash3/.pusnInsteadOf" trash/wrong &&
|
||||
test_config "url.trash3/.pushInsteadOf" trash/wrong &&
|
||||
test_config remote.r.url trash/wrong &&
|
||||
test_config remote.r.pushurl "testrepo/" &&
|
||||
git push r refs/heads/master:refs/remotes/origin/master &&
|
||||
|
Loading…
Reference in New Issue
Block a user