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

Re: git rebase writes worktree "Ref ... checked out at ..." todo comments with a hardcoded '#', breaking parsing when core.commentChar is not '#'.

From
KHKristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
Date
Aug 3, 2026, 08:21 UTC
Message-ID
<d0de4f3f-0f57-4458-a721-d5d8eb048ead@app.fastmail.com>
In-Reply-To
<20260803080254.38A0459466E8@dd18010.kasserver.com>
On Mon, Aug 3, 2026, at 10:02, Markus Geiger wrote:
Show 21 quoted lines
> Ok, you can close it. I couldn't reproduce it in newer versions.
>
> Sorry, for taking up your time.
>
>
> The bug reproduces on your 2.43.0 but is gone in the newest git
> (2.55.0). It also doesn't reproduce on 2.39.5, which means this was a
> regression introduced somewhere in the 2.40–2.43 range and later fixed
> upstream — not a longstanding bug.
>
>
> ┌─────────────────┬─────────────────┬────────────────┐
> │   git version   │     Source      │     Result     │
> ├─────────────────┼─────────────────┼────────────────┤
> │ 2.39.5          │ debian bookworm │ ✅ not present │
> ├─────────────────┼─────────────────┼────────────────┤
> │ 2.43.0          │ your host       │ ❌ BUG PRESENT │
> ├─────────────────┼─────────────────┼────────────────┤
> │ 2.55.0 (newest) │ alpine edge     │ ✅ FIXED       │
> └─────────────────┴─────────────────┴────────────────┘
>[snip]

This was fixed in 94304b9f (sequencer: comment checked-out branch properly, 2024-11-25) which was released in Git 2.48.0.

Previous: Markus Geiger
Message 2 of 2 in “Re: git rebase writes worktree "Ref ... checked out at ..." todo comments with a hardcoded '#', breaking parsing when core.commentChar is not '#'.”
  1. Markus GeigerAug 3, 2026
  2. Kristoffer HaugsbakkAug 3, 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.