diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2014-12-23 14:25:09 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-23 12:42:37 -0800 |
commit | b90c95d90ed9e96a0c1515c00fa8c0f92a0cb130 (patch) | |
tree | f601a3fe793006dad7e48652296953a943d16e0f /t | |
parent | fb86e32dcc9ed07ee2f1df6aafbf34d469007b1f (diff) | |
download | git-js/remote-add-with-insteadof.tar.gz |
Add a regression test for 'git remote add <existing> <same-url>'js/remote-add-with-insteadof
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-x | t/t5505-remote.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t5505-remote.sh b/t/t5505-remote.sh index ac79dd915d..17c6330f98 100755 --- 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 |