libcamera/utils
Nicolas Dufresne 8bf8442565 checkstyle: Add support for checking style on staged changes
This introduces a new command line "--staged" and a new special type of
commit "StagedChanges". It will check the style of changes that are in
the index, so the changes that would be committed by "git commit".

"--staged" was chosen to match with "git diff --staged" command line.
Other valid name could have been "--index" or "--cached". This was
my personal preference, aliases can be added later. Note that we must
not confuse this with working tree changes, as these changes are not
picked by "git commit".

This feature is needed to implement pre-commit hook.

Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-01-18 22:05:03 +02:00
..
hooks utils: hooks: Provide post-commit hook example to checkstyle.py 2019-01-30 10:57:37 +00:00
ipu3 utils: ipu3: process: Configure formats on ImgU subdev pads 2018-12-11 15:58:19 +02:00
rkisp1 utils: rkisp1: Add test capture script 2019-03-29 16:39:10 +02:00
checkstyle.py checkstyle: Add support for checking style on staged changes 2020-01-18 22:05:03 +02:00
gen-version.sh libcamera: skip auto version generation when building for Chromium OS 2019-07-11 12:22:40 +09:00
meson.build utils: ipu3: Add IPU3 raw capture unpack utility 2018-11-20 03:06:41 +02:00