Merge branch 'ds/fetch-bundle-uri-with-all'
"git fetch --all" does not have to download and handle the same bundleURI over and over, which has been corrected. * ds/fetch-bundle-uri-with-all: fetch: download bundles once, even with --all
This commit is contained in:
@ -794,6 +794,15 @@ int fetch_bundle_uri(struct repository *r, const char *uri,
|
||||
|
||||
init_bundle_list(&list);
|
||||
|
||||
/*
|
||||
* Do not fetch a NULL or empty bundle URI. An empty bundle URI
|
||||
* could signal that a configured bundle URI has been disabled.
|
||||
*/
|
||||
if (!uri || !*uri) {
|
||||
result = 0;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
/* If a bundle is added to this global list, then it is required. */
|
||||
list.mode = BUNDLE_MODE_ALL;
|
||||
|
||||
|
Reference in New Issue
Block a user