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

Re: [PATCH] receive-pack: fix updateInstead with core.worktree

From
KHKristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
Date
May 22, 2026, 16:21 UTC
Message-ID
<60a0ec9b-0263-42f5-83b1-c55275c7772a@app.fastmail.com>
In-Reply-To
<20260522154418.5883-1-hi@alyssa.is>
On Fri, May 22, 2026, at 17:44, Alyssa Ross wrote:
Show 7 quoted lines
> This used to work, but when push_to_checkout() started being called
> before push_to_deploy(), push_to_checkout()'s side effect of adding
> GIT_WORK_TREE to the same environment that would be used by
> push_to_deploy() wasn't taken into account.  Fix by only mutating the
> environment for push_to_commit(), rather than the shared environment.
>
> Fixes: a8cc594333 ("hooks: fix an obscure TOCTOU "did we just run a hook?" race")

This project doesn’t use `Fixes` trailers.[1] Mentions of commits go in the commit message body (outside the trailers) using `git log -1 --format-reference <cmt>`.

The Linux project has uses for this structured information since there is a lot of backporting of bugfixes. But I haven’t heard of a need for that in this project.

🔗 1: https://lore.kernel.org/git/72839071-153f-4306-a705-3be0dc203109@app.fastmail.com/
> Signed-off-by: Alyssa Ross <hi@alyssa.is>
> ---
>[snip]
Previous: Alyssa RossNext: Junio C Hamano
Message 2 of 5 in “receive-pack: fix updateInstead with core.worktree”
  1. receive-pack: fix updateInstead with core.worktreeAlyssa Ross, May 22, 2026
  2. Kristoffer HaugsbakkMay 22, 2026
  3. Junio C HamanoMay 25, 2026
  4. receive-pack: fix updateInstead with core.worktreeAlyssa Ross, May 25, 2026
  5. Junio C HamanoMay 25, 2026

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.