Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t5516: correct misspelled pushInsteadOf
author
Anders Kaseorg
<andersk@mit.edu>
Sun, 1 Mar 2015 04:18:14 +0000
(23:18 -0500)
committer
Junio 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
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
282616c
)
diff --git
a/t/t5516-fetch-push.sh
b/t/t5516-fetch-push.sh
index 67e0ab346204b437c8e3585d948c2c61858e1928..393285ac35becf65322f4e3e67f96544b41f10c2 100755
(executable)
--- a/
t/t5516-fetch-push.sh
+++ b/
t/t5516-fetch-push.sh
@@
-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/.pus
n
InsteadOf" trash/wrong &&
+ test_config "url.trash3/.pus
h
InsteadOf" 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 &&