diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-07-25 16:51:56 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-07-28 19:11:56 +0300 |
commit | 4694e441c31378e7c5bfaa34164785bd2f93e38b (patch) | |
tree | e343b772c1117e4902cdd6293affe692b6bbe6aa /test/camera/configuration_default.cpp | |
parent | 5322b7ba611f6e76a7e80327de5d86acd36dd078 (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 'test/camera/configuration_default.cpp')
0 files changed, 0 insertions, 0 deletions