diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-02-16 04:11:54 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-02-16 04:11:54 +0300 |
commit | 59397e9b7e36a1c22196a64bd866224c85c258b6 (patch) | |
tree | 1bce561ef9253ca072f94964a380c9c536484cb7 /t | |
parent | eb11ec23ff1ff896b1e88be1e516870ce8a2d983 (diff) | |
parent | d390e08076b4486b603f0c8496cc09a5eba4106b (diff) |
Merge branch 'cw/doc-pushurl-vs-url'
Doc update.
* cw/doc-pushurl-vs-url:
Documentation: clarify multiple pushurls vs urls
Diffstat (limited to 't')
-rwxr-xr-x | t/t5510-fetch.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t5510-fetch.sh b/t/t5510-fetch.sh index c0b745e33b..34a1261520 100755 --- a/t/t5510-fetch.sh +++ b/t/t5510-fetch.sh @@ -806,6 +806,14 @@ test_expect_success 'fetch.writeCommitGraph with submodules' ' ) ' +# fetches from first configured url +test_expect_success 'fetch from multiple configured URLs in single remote' ' + git init url1 && + git remote add multipleurls url1 && + git remote set-url --add multipleurls url2 && + git fetch multipleurls +' + # configured prune tests set_config_tristate () { |