Re: [PATCH] b4: include change-id in cover template
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 10, 2026, 17:02 UTC
- Message-ID
- <xmqqik6mdbh6.fsf@gitster.g>
- In-Reply-To
- <alCxgqybWb9eDEG0@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
Show 23 quoted lines
> On Fri, Jul 10, 2026 at 03:22:13PM +0800, Chen Linxuan via B4 Relay wrote: >> From: Chen Linxuan <me@black-desk.cn> >> >> With b4 0.15.2, I hit a local failure after sending a series with the >> in-tree cover template. The generated sent/<change-id>-vN tag contained >> base-commit, but did not contain change-id, and later b4 commands failed >> when trying to read it: >> >> CRITICAL: Tag sent/... does not contain change-id info >> >> Looking at b4's source, the sent tag message is derived from the rendered >> cover letter. The same code later parses that tag and expects both >> base-commit and change-id to be present. The default b4 cover template >> has both trailers, but our in-tree template only has base-commit. >> >> Add the missing change-id trailer next to base-commit so sent tags >> produced from the project template remain readable by b4's reroll and >> comparison logic. > > Ah, that's indeed an oversight on my side. So this change looks good to > me, thanks! > > Patrick
I would have slightly preferred to see the observation part fully in present tense (instead of "I did and it failed"), perhaps like so:
When sending a series with the in-tree cover template, the
generated sent/<change-id>-vN tag contains base-commit but lacks
change-id. Later b4 commands fail when trying to read it.but that is a minor point.
Will queue. Thanks, both.