Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-01-18 | checkstyle: Add a pre-commit hook script | Nicolas Dufresne | |
This adds support for pre-commit hook workflow. In pre-commit hook we check the style on the changes currently staged or the combination of the index and the last commit if "git commit --amend" is being used. Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> | |||
2019-01-30 | utils: hooks: Provide post-commit hook example to checkstyle.py | Kieran Bingham | |
Provide an example post-commit hook which a developer can install, ensuring that every commit gets the style checker executed on it. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> |