[PATCH v3 0/3] bundle-uri: do not die on unresolvable relative URIs
- From
- Aniket Gupta <aniketgupta3001@gmail.com>
- Date
- Nov 5, 2026, 15:28 UTC
- Message-ID
- <20261105152842.566318-1-aniketgupta3001@gmail.com>
A bundle list can contain a relative URI that cannot be resolved, and today one such entry makes the whole clone die. This series lets the bundle code report it and skip that bundle instead.
Changes since v2: - split into three patches - reworded the commit message to describe relative_url() as a thin wrapper around relative_url_gently() - the credentials test now compares the full error message - the error names the URL that was passed in, not what is left of it after some components were stripped off
Aniket Gupta (3): remote: add relative_url_gently() remote: do not show credentials when relative_url() fails bundle-uri: do not die on unresolvable relative URIs
bundle-uri.c | 10 +++++++++- remote.c | 37 +++++++++++++++++++++++++++++++------ remote.h | 8 ++++++++ t/t0060-path-utils.sh | 9 +++++++++ t/t5750-bundle-uri-parse.sh | 15 +++++++-------- 5 files changed, 64 insertions(+), 15 deletions(-)
base-commit: ebdc087dc99d68bb340c282b2ba5f722def28d19
-- 2.43.0