Re: [PATCH v10 1/5] fetch: add remote.<name>.refmap
- From
Ben Knoble <ben.knoble@gmail.com>
- Date
- Oct 29, 2026, 14:30 UTC
- Message-ID
- <E50044F1-41F6-4FD8-9A22-A43FF36932F2@gmail.com>
- In-Reply-To
- <e6af5d1e-4ca1-48a5-8a84-5e0cefbdbc2b@gmail.com>
Show 11 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!