From: Johannes Schindelin Date: Tue, 23 Dec 2014 13:25:09 +0000 (+0100) Subject: Add a regression test for 'git remote add ' X-Git-Tag: v2.3.0-rc1~22^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/b90c95d90ed9e96a0c1515c00fa8c0f92a0cb130?ds=inline;hp=--cc Add a regression test for 'git remote add ' Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- b90c95d90ed9e96a0c1515c00fa8c0f92a0cb130 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