git gcc-commit-mklog doesn't extract PR number to ChangeLog

Tobias Burnus tobias@codesourcery.com
Thu Jun 10 06:35:37 GMT 2021


On 10.06.21 08:17, Martin Liška wrote:

> Yes, we currently only support automatic extraction from comments from
> test-cases.
> How does your commit title look like? Note that we require bugzilla
> components
> being part of PR entry, which is not commonly used in git titles due
> to length
> limitation.

One options would be to require a 'PR <comp>/<nnnnn+>' line if there is
'PRnnnnn+' in the commit title, rejecting the commit otherwise.

Tobias

-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstrasse 201, 80634 München Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Frank Thürauf


More information about the Gcc mailing list