Re: What's cooking in git.git (Feb 2026, #04)
- From
- Phillip Wood <phillip.wood123@gmail.com>
- Date
- Feb 12, 2026, 15:56 UTC
- Message-ID
- <53696dd3-1920-4777-a62e-bf7818bd228c@gmail.com>
- In-Reply-To
- <xmqq5x84xms1.fsf@gitster.g>
On 10/02/2026 22:21, Junio C Hamano wrote:
Show 11 quoted lines
> > * pw/commit-msg-sample-hook (2026-02-07) 3 commits > - templates: detect messages that contain a separator line > - templates: detect commit messages containing diffs > - templates: add .gitattributes entry for sample hooks > > Update sample commit-msg hook to complain when a log message has > material mailinfo considers the end of log message in the middle. > > Will merge to 'next'? > source: <cover.1770476279.git.phillip.wood@dunelm.org.uk>
I'm planning a re-roll to handle subject lines that start with "diff -" after using this hook while preparing <2a8cc2d6c37f25a58823b501500165d597321749.1770911599.git.phillip.wood@dunelm.org.uk>. Such subject lines are safe because "git format-patch" prefixes them with [PATCH]. I think I'll probably drop the last patch as well.
Thanks
Phillip