From: Junio C Hamano Date: Wed, 27 May 2026 05:15:45 +0000 (+0900) Subject: Merge branch 'ds/fetch-negotiation-options' X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=1103041f3482c2e19174a6192dabfcf6a286b6a8;p=thirdparty%2Fgit.git Merge branch 'ds/fetch-negotiation-options' The negotiation tip options in "git fetch" have been reworked to allow requiring certain refs to be sent as "have" lines, and to restrict negotiation to a specific set of refs. * ds/fetch-negotiation-options: send-pack: pass negotiation config in push remote: add remote.*.negotiationInclude config fetch: add --negotiation-include option for negotiation negotiator: add have_sent() interface remote: add remote.*.negotiationRestrict config transport: rename negotiation_tips fetch: add --negotiation-restrict option t5516: fix test order flakiness --- 1103041f3482c2e19174a6192dabfcf6a286b6a8 diff --cc fetch-pack.c index c8fa0a609a,96071434b8..120e01f3cf --- a/fetch-pack.c +++ b/fetch-pack.c @@@ -1884,8 -1943,8 +1945,9 @@@ static struct ref *do_fetch_pack_v2(str if (negotiator) negotiator->release(negotiator); + fsck_options_clear(&fsck_options); oidset_clear(&common); + oidset_clear(&negotiation_include_oids); return ref; }