t5516: correct misspelled pushInsteadOf
authorAnders Kaseorg <andersk@mit.edu>
Sun, 1 Mar 2015 04:18:14 +0000 (23:18 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Mar 2015 20:07:18 +0000 (12:07 -0800)
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>
t/t5516-fetch-push.sh
index 67e0ab346204b437c8e3585d948c2c61858e1928..393285ac35becf65322f4e3e67f96544b41f10c2 100755 (executable)
@@ -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 &&