summaryrefslogtreecommitdiff
path: root/utils/raspberrypi
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-07-25 16:51:56 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-07-28 19:11:56 +0300
commit4694e441c31378e7c5bfaa34164785bd2f93e38b (patch)
treee343b772c1117e4902cdd6293affe692b6bbe6aa /utils/raspberrypi
parent5322b7ba611f6e76a7e80327de5d86acd36dd078 (diff)
utils: checkstyle.py: Extract title and trailers with one command
The Amendment class calls `git show` twice, once to extract the commit title, and a second time to extract the trailers. This can be combined in a single command, which is more efficient. Do so. While at it, centralize initialization of self._trailers in the Commit.__init__() function. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'utils/raspberrypi')
0 files changed, 0 insertions, 0 deletions