doc: collab: coding style: update checkpatch pre-commit line
Update pre-commit checkpatch script to use project .checkpatch.conf file. Change-Id: I86ef9c64e9a13db2fd79fc5781eaa5456be78f36 Signed-off-by: Javier B Perez Hernandez <javier.b.perez.hernandez@linux.intel.com>
This commit is contained in:
parent
e39cf08fbd
commit
8dc16be5e4
1 changed files with 2 additions and 5 deletions
|
@ -36,9 +36,6 @@ code, edit your :file:`.git/hooks/pre-commit` file to contain:
|
||||||
|
|
||||||
set -e exec
|
set -e exec
|
||||||
|
|
||||||
exec git diff --cached | ${ZEPHYR_BASE}/scripts/checkpatch.pl --mailback --no-tree \
|
exec git diff --cached | ${ZEPHYR_BASE}/scripts/checkpatch.pl - || true
|
||||||
--no-signoff --emacs --summary-file --show-types \
|
|
||||||
--ignore BRACES,PRINTK_WITHOUT_KERN_LEVEL,SPLIT_STRING \
|
|
||||||
--max-line-length=100 - || true
|
|
||||||
|
|
||||||
.. _Linux kernel coding style: https://www.kernel.org/doc/Documentation/CodingStyle
|
.. _Linux kernel coding style: https://www.kernel.org/doc/Documentation/CodingStyle
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue