Re: git rebase writes worktree "Ref ... checked out at ..." todo comments with a hardcoded '#', breaking parsing when core.commentChar is not '#'.
- From
- Kristoffer 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.