diff options
author | Derrick Stolee <derrickstolee@github.com> | 2022-05-16 20:11:04 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-05-16 15:02:10 -0700 |
commit | 834e3520ab6435073ef58922b24d732f96cdf461 (patch) | |
tree | 3785be3bd77fd6d883ceff57d789e6f1502ef1d3 /commit.c | |
parent | 1d04e719e7bda885991cd4566a5bb6f6565fa106 (diff) |
remote: allow relative_url() to return an absolute url
When the 'url' parameter was absolute, the previous implementation would
concatenate 'remote_url' with 'url'. Instead, we want to return 'url' in
this case.
The documentation now discusses what happens when supplying two
absolute URLs.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions