git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Junio C Hamano
Message 8 of 8 in “fetch: pass --no-write-fetch-head to subprocesses”
  1. fetch: pass --no-write-fetch-head to subprocessesEric Wong, Mar 8, 2023
  2. Junio C HamanoMar 8, 2023
  3. fetch: pass --no-write-fetch-head to subprocessesEric Wong, Mar 8, 2023
  4. Junio C HamanoMar 8, 2023
  5. Junio C HamanoMar 8, 2023
  6. Eric WongMar 8, 2023
  7. Junio C HamanoMar 9, 2023
  8. Jeff KingMar 9, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.