diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2023-07-10 17:35:09 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2023-07-18 09:26:31 +0100 |
commit | baaad1bf9e2acb3ab721945041ef46496951c04c (patch) | |
tree | e1f0af024fbcd9487ff411d5ba05577e46805250 /meson.build | |
parent | e2f0ad27b18b1502f59268bda2eeff4a7a21055c (diff) |
utils: checkstyle.py: Check trailers for Amendment commits
The commit trailers are checked as part of processing the commit message
with the newly introduced TrailersChecker.
This relies on the trailers property being correctly exposed by the
Commit object, and is implemented for the base Commit but not processed
for Amendment commits.
Refactor the trailer property handling to a helper function in the base
Commit class and make use of it with a newly added call to obtain the
existing Trailers from the most recent commit when using Amendment.
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Tested-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions