diff options
Diffstat (limited to 'transport.c')
-rw-r--r-- | transport.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/transport.c b/transport.c index 0f35114a13..241f8a6ba2 100644 --- a/transport.c +++ b/transport.c @@ -1538,6 +1538,9 @@ int transport_get_remote_bundle_uri(struct transport *transport) if (git_config_get_bool("transfer.bundleuri", &value) || !value) return 0; + if (!transport->bundles->baseURI) + transport->bundles->baseURI = xstrdup(transport->url); + if (!vtable->get_bundle_uri) return error(_("bundle-uri operation not supported by protocol")); |