mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-17 01:15:06 +03:00
If a file misses the newline at the end it gets detected by checkstyle, but the resulting patch is incorrect and does not apply. It took me a while to understand that it wasn't me using checkstyle incorrectly, but that the patch was faulty. The bug itself is in difflib and dates back to 2008. To reproduce: - Remove trailing newline from a file - git add the file - run ./utils/checkstyle.py -s | patch -p0 Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
||
---|---|---|
.. | ||
hooks | ||
ipc | ||
ipu3 | ||
raspberrypi | ||
rkisp1 | ||
tracepoints | ||
tuning | ||
abi-compat.sh | ||
checkstyle.py | ||
gen-controls.py | ||
gen-formats.py | ||
gen-header.sh | ||
gen-ipa-priv-key.sh | ||
gen-ipa-pub-key.py | ||
gen-version.sh | ||
meson.build | ||
release.sh | ||
run-dist.sh | ||
semver | ||
update-kernel-headers.sh | ||
update-mojo.sh |