Re: [PATCH v10 1/5] fetch: add remote.<name>.refmap
On Thu, Oct 29, 2026 at 4:30 PM Ben Knoble <ben.knoble@gmail.com> wrote:
Show 19 quoted lines
>
>
> > Le 26 oct. 2026 à 05:44, Phillip Wood <phillip.wood123@gmail.com> a écrit :
> >
> > Hi Harald
> >
> >> On 20/10/2026 14:42, Harald Nordgren via GitGitGadget wrote:
> >> From: Harald Nordgren <haraldnordgren@gmail.com>
> >> Add a per-remote config variable, remote.<name>.refmap, that provides
> >> the default value for --refmap the same way remote.<name>.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.<name>.fetchRefmap" so that it is clear it applies to fetches. That would also allow us to add a matching "remote.<name>.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