From: Harald Nordgren Date: Thu, 29 Oct 2026 14:50:36 GMT Subject: Re: [PATCH v10 1/5] fetch: add remote..refmap Message-ID: In-Reply-To: On Thu, Oct 29, 2026 at 4:30 PM Ben Knoble wrote: > > > > Le 26 oct. 2026 à 05:44, Phillip Wood a écrit : > > > > Hi Harald > > > >> On 20/10/2026 14:42, Harald Nordgren via GitGitGadget wrote: > >> From: Harald Nordgren > >> Add a per-remote config variable, remote..refmap, that provides > >> the default value for --refmap the same way remote..fetch > >> already provides the default refspecs to fetch. > > > > The second half of this sentence seems redundant to me. Can we please call the new config setting "remote..fetchRefmap" so that it is clear it applies to fetches. That would also allow us to add a matching "remote..pushRefmap" in the future to map the refnames of refs that are pushed without setting up a default set of refs to push. > > Yes, I would love to add pushRefmap atop later! It would > ease my working with notes, I think. > > I’m on mobile now, but if I remember I’ll try to spell out what I mean > more concretely. Thanks for the reminder! It has already been renamed to fetchRefmap in v12. Harald