summaryrefslogtreecommitdiff
path: root/src/ipa/rpi/common/ipa_base.h
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2023-07-10 17:35:09 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2023-07-18 09:26:31 +0100
commitbaaad1bf9e2acb3ab721945041ef46496951c04c (patch)
treee1f0af024fbcd9487ff411d5ba05577e46805250 /src/ipa/rpi/common/ipa_base.h
parente2f0ad27b18b1502f59268bda2eeff4a7a21055c (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 'src/ipa/rpi/common/ipa_base.h')
0 files changed, 0 insertions, 0 deletions