]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5505-remote.sh
Merge branch 'tg/git-remote'
[thirdparty/git.git] / t / t5505-remote.sh
index 94079a0e63c29fc0366dfa2abf39015c41240ee1..949725e9bcc5b4d6358ed28ca5675b92f9b7c7fa 100755 (executable)
@@ -51,6 +51,11 @@ test_expect_success setup '
        git clone one test
 '
 
+test_expect_success 'add remote whose URL agrees with url.<...>.insteadOf' '
+       test_config url.git@host.com:team/repo.git.insteadOf myremote &&
+       git remote add myremote git@host.com:team/repo.git
+'
+
 test_expect_success C_LOCALE_OUTPUT 'remote information for the origin' '
        (
                cd test &&