Merge branch 'jc/am-i-v-fix'
[gitweb.git] / t / t5505-remote.sh
index 1a8e3b81c815cfb92b7025a12d8c703f2ffc54e9..0dcc752076a9e42b0cff982d7b0f42c63f85dee2 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 &&