Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Add a regression test for 'git remote add <existing> <same-url>'
author
Johannes Schindelin
<johannes.schindelin@gmx.de>
Tue, 23 Dec 2014 13:25:09 +0000
(14:25 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 23 Dec 2014 20:42:37 +0000
(12:42 -0800)
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5505-remote.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
fb86e32
)
diff --git
a/t/t5505-remote.sh
b/t/t5505-remote.sh
index ac79dd915da4a520e90fca6a11a239aba6e688d7..17c6330f988ecc98735307fbfd8bded5283feb61 100755
(executable)
--- a/
t/t5505-remote.sh
+++ b/
t/t5505-remote.sh
@@
-1113,4
+1113,9
@@
test_extra_arg set-url origin newurl oldurl
# prune takes any number of args
# update takes any number of args
+test_expect_success 'add remote matching the "insteadOf" URL' '
+ git config url.xyz@example.com.insteadOf backup &&
+ git remote add backup xyz@example.com
+'
+
test_done