diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-08-05 20:38:34 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-08-07 18:58:54 +0300 |
commit | 6f1df8d6060c1a584c553479cb9e18fe4d1d0b5e (patch) | |
tree | e6051cc7549da013d0eb614e22d5444912f58c31 /utils/gen-version.sh | |
parent | 82c5ea24b0e6120b75cd2f21075a3cdcb9d3d7a2 (diff) |
utils: checkstyle.py: Fix trailer parsing for commits with changelogs
Trailers are extracted from commits using the '(trailers:*)' formatting
specifier. git ignores dividers when doing so, as if the --no-divider
options was passed to git-interpret-trailers. This prevents trailers
from being located when the patch contains a local changelog.
There is unfortuantely no 'no-no-divider' option to the trailers format
specifier. Fix the issue by extracting trailers with
git-interpret-trailers, that gives better control of the parsing.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'utils/gen-version.sh')
0 files changed, 0 insertions, 0 deletions