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:
Javier B Perez Hernandez 2015-10-19 18:01:27 -05:00 committed by Anas Nashif
commit 8dc16be5e4

View file

@ -36,9 +36,6 @@ code, edit your :file:`.git/hooks/pre-commit` file to contain:
set -e exec
exec git diff --cached | ${ZEPHYR_BASE}/scripts/checkpatch.pl --mailback --no-tree \
--no-signoff --emacs --summary-file --show-types \
--ignore BRACES,PRINTK_WITHOUT_KERN_LEVEL,SPLIT_STRING \
--max-line-length=100 - || true
exec git diff --cached | ${ZEPHYR_BASE}/scripts/checkpatch.pl - || true
.. _Linux kernel coding style: https://www.kernel.org/doc/Documentation/CodingStyle