diff options
| author | Calvin Wan <calvinwan@google.com> | 2023-02-07 18:12:27 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-02-07 11:02:27 -0800 |
| commit | d390e08076b4486b603f0c8496cc09a5eba4106b (patch) | |
| tree | 20ce516e1f8be026e0b680e1abab81b5f6eacc73 /t/helper/test-dir-iterator.c | |
| parent | Sync with maint-2.38 (diff) | |
| download | git-d390e08076b4486b603f0c8496cc09a5eba4106b.tar.gz git-d390e08076b4486b603f0c8496cc09a5eba4106b.zip | |
Documentation: clarify multiple pushurls vs urls
In a remote with multiple configured URLs, `git remote -v` shows the
correct url that fetch uses. However, `git config remote.<remote>.url`
returns the last defined url instead. This discrepancy can cause
confusion for users with a remote defined as such, since any url
defined after the first essentially acts as a pushurl.
Add documentation to clarify how fetch interacts with multiple urls
and how push interacts with multiple pushurls and urls.
Add test affirming interaction between fetch and multiple urls.
Signed-off-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-dir-iterator.c')
0 files changed, 0 insertions, 0 deletions
