mirror of
https://github.com/git/git
synced 2024-08-28 03:59:25 +00:00
Add a regression test for 'git remote add <existing> <same-url>'
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
fb86e32dcc
commit
b90c95d90e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue