Re: [RFC] fetch: support hideRefs to speed up connectivity checks
- From
- Jonathan Tan <jonathantanmy@google.com>
- Date
- Feb 10, 2023, 21:49 UTC
- Message-ID
- <20230210214951.684909-1-jonathantanmy@google.com>
- In-Reply-To
- <20230209122857.M669733@dcvr>
Eric Wong <e@80x24.org> writes:
Show 7 quoted lines
> git -c transfer.hideRefs=refs \ > -c transfer.hideRefs='!refs/remotes/$REMOTE/' \ > fetch $REMOTE > > I initially considered passing --negotiation-tip OIDs, but this seems > like an easier solution as I'm not yet familiar with this code > and prefer to avoid writing too much C.
--negotiation-tip supports ref name globs too. Would that be sufficient for your purposes?