Re: [PATCH] fetch: pass --no-write-fetch-head to subprocesses
- From
Jeff King <peff@peff.net>
- Date
- Mar 9, 2023, 03:09 UTC
- Message-ID
- <ZAlOB0XZaGPUJMS7@coredump.intra.peff.net>
- In-Reply-To
- <20230308100438.908471-1-e@80x24.org>
On Wed, Mar 08, 2023 at 10:04:38AM +0000, Eric Wong wrote:
Show 7 quoted lines
> It seems a user would expect this option would work regardless > of whether it's fetching from a single remote or many. > > Signed-off-by: Eric Wong <e@80x24.org> > --- > I haven't checked if there's other suitable options which could > go into add_options_to_argv(); hopefully someone else can check :>
There's at least one that came up before:
https://lore.kernel.org/git/DM5PR1701MB1724CCBB1AC5CF342BA9ADD5898E9@DM5PR1701MB1724.namprd17.prod.outlook.com/
but it never got turned into a real patch.
This is obviously an error-prone mechanism. It would be nice if there was a way to avoid it, but after some discussion in this thread, we didn't come up with anything clever:
https://lore.kernel.org/git/20200914121906.GD4705@pflmari/
-Peff