diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2020-01-18 15:00:14 -0500 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-18 22:40:55 +0200 |
commit | 17b3c794095eb6f73ef83061bd49aeef5ad11507 (patch) | |
tree | 53df0c5b2a7b8a88d5db80854fafd57d8aec50ff /test/utils.cpp | |
parent | 8bf84425652df7972085f3e1aaf43c9f84da9bd8 (diff) |
checkstyle: Add support for checking style on amendments
This introduces a new argument "--amend" and a new special type of
commit "Amendment". It will check the style of changes that are in
the index combined with the changes of the last commit. So this is
the changes that would be applied by "git commit --amend" hence the
name of the argument.
This is needed to implement pre-commit hook.
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/utils.cpp')
0 files changed, 0 insertions, 0 deletions