Subject: Re: [PATCH] fetch: pass --no-write-fetch-head to subprocesses

From: Jeff King <[email-masked]>
Date: Wed, 8 Mar 2023 22:09:59 -0500

On Wed, Mar 08, 2023 at 10:04:38AM +0000, Eric Wong wrote:

> 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 <[email-masked]>
> ---
>  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/[email-masked]/

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