Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-02-16 04:11:54 +0300
committerJunio C Hamano <gitster@pobox.com>2023-02-16 04:11:54 +0300
commit59397e9b7e36a1c22196a64bd866224c85c258b6 (patch)
tree1bce561ef9253ca072f94964a380c9c536484cb7 /t
parenteb11ec23ff1ff896b1e88be1e516870ce8a2d983 (diff)
parentd390e08076b4486b603f0c8496cc09a5eba4106b (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-xt/t5510-fetch.sh8
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 () {