diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-02-22 13:15:01 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-22 13:15:01 -0800 |
commit | 4091558cfe00ed7b27313ff6a55b5994ce766270 (patch) | |
tree | bfa0d12b5d0eef30633139c4557d510be173bf39 /t/t5505-remote.sh | |
parent | 895f20de9e3ecd68c4b96cf6802a7424e9ace533 (diff) | |
parent | d8ff76cf17c334c60cb83e7d860466086d0547fe (diff) | |
download | git-4091558cfe00ed7b27313ff6a55b5994ce766270.tar.gz git-4091558cfe00ed7b27313ff6a55b5994ce766270.tar.xz |
Merge branch 'js/git-remote-add-url-insteadof-test'
* js/git-remote-add-url-insteadof-test:
t5505: 'remote add x y' should work when url.y.insteadOf = x
Diffstat (limited to 't/t5505-remote.sh')
-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 1a8e3b81c..0dcc75207 100755 --- a/t/t5505-remote.sh +++ b/t/t5505-remote.sh @@ -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 && |