diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-07-08 14:53:11 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-07-08 14:53:11 -0700 |
| commit | 125e38947087906be17fb4e237fc09764df97c65 (patch) | |
| tree | d3a5a64bacceb6485f186f99048cce117de76dbc /fetch-pack.h | |
| parent | 3997614c249b4b475d07c00556446d8b698d1a49 (diff) | |
| parent | 63d903ff52594eb52289abb89db1a4bca7b0f946 (diff) | |
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
Diffstat (limited to 'fetch-pack.h')
| -rw-r--r-- | fetch-pack.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fetch-pack.h b/fetch-pack.h index 6775d26517..b5c579cdae 100644 --- a/fetch-pack.h +++ b/fetch-pack.h @@ -101,4 +101,9 @@ void negotiate_using_fetch(const struct oid_array *negotiation_tips, */ int report_unmatched_refs(struct ref **sought, int nr_sought); +/* + * Return true if checks for broken objects in received pack are required. + */ +int fetch_pack_fsck_objects(void); + #endif |
