A bundle list can contain a relative URI that cannot be resolved, and today one such entry makes the whole clone die. The three-patch series adds relative_url_gently(), stops relative_url() from showing credentials when it fails, and makes the bundle code report the error and skip that bundle. The subject line says v3, but Gupta's replies refer to v5 and an upcoming v6, so the version numbering in the thread is unclear.

Patrick Steinhardt objected that the code is now inconsistent. It errors out and removes the map entry when a URI cannot be parsed, but not when there is no value at all. He also asked why a broken URI is an error but a broken creation token is not, and whether the token is needed. He said the problem could be avoided by adding the entry to the map only at the end of the function, after everything has parsed. He also remarked on the confusing pair of variables remote_url and remoteurl, a pre-existing issue. He said a renaming patch would have been nice but was not required.

Gupta explained that the removal was added because of Junio's earlier review, since a bad URI left an entry with no uri and the clone reported the same bundle twice. The missing-value check landed upstream separately in "bundle-uri: handle NULL values in bundle lists". Gupta proposed dropping the bundle in both cases in v6 and said the confusing naming can be fixed in a follow-up.

Steinhardt also asked for a range-diff between versions and recommended b4. Gupta tried it but found that it cannot track versions v1 to v5, which were sent without it. For v6 Gupta plans to use "git format-patch --range-diff" and to use b4 for new threads.