Merge branch 'xx/bundie-uri-fixes'
When bundleURI interface fetches multiple bundles, Git failed to take full advantage of all bundles and ended up slurping duplicated objects. * xx/bundie-uri-fixes: unbundle: extend object verification for fetches fetch-pack: expose fsckObjects configuration logic bundle-uri: verify oid before writing refs
This commit is contained in:
@ -186,7 +186,8 @@ static int fetch_refs_from_bundle(struct transport *transport,
|
||||
if (!data->get_refs_from_bundle_called)
|
||||
get_refs_from_bundle_inner(transport);
|
||||
ret = unbundle(the_repository, &data->header, data->fd,
|
||||
&extra_index_pack_args, 0);
|
||||
&extra_index_pack_args,
|
||||
fetch_pack_fsck_objects() ? VERIFY_BUNDLE_FSCK : 0);
|
||||
transport->hash_algo = data->header.hash_algo;
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user