$ ~/p/t/checkpatch/checkpatch.pl --color=always --git HEAD~1..HEAD
ERROR: trailing whitespace
#79: FILE: static-build/openssl-111q-gh-18720.patch:6:
+ $
total: 1 errors, 41 lines checked
Commit 157b44649937 ("static-build: bump openssl from 1.1.1n to 1.1.1q") has style problems, please review.
NOTE: If any of the errors are false positives, please file a bug at
https://github.com/tarantool/checkpatch/issues
I can propose the following solutions:
Fast: ignore a trailing whitespace in *.patch files.
Good: allow a line that contains only whitespace symbol in *.patch files.
However the checkpatch script compains about it. Example: https://github.com/tarantool/tarantool/commit/157b446499375ab3ee80f2878d344dcd1c701a31.
The file:
The script output:
I can propose the following solutions:
*.patch
files.*.patch
files.