git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
fb86e32
)
Add a regression test for 'git remote add <existing> <same-url>'
author
Johannes Schindelin
<redacted>
Tue, 23 Dec 2014 13:25:09 +0000
(14:25 +0100)
committer
Junio C Hamano
<redacted>
Tue, 23 Dec 2014 20:42:37 +0000
(12:42 -0800)
Signed-off-by: Johannes Schindelin <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t5505-remote.sh
patch
|
blob
|
history
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
git clone https://git.99rst.org/PROJECT