doc: contribute: fix code block for git hook

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-08-01 15:03:17 -04:00 committed by Anas Nashif
commit 454d0afd49

View file

@ -242,7 +242,7 @@ The Linux kernel GPL-licensed tool ``checkpatch`` is used to check coding
style conformity. Checkpatch is available in the scripts directory. To invoke style conformity. Checkpatch is available in the scripts directory. To invoke
it when committing code, edit your *.git/hooks/pre-commit* file to contain: it when committing code, edit your *.git/hooks/pre-commit* file to contain:
.. code-block: bash .. code-block:: bash
#!/bin/sh #!/bin/sh
set -e exec set -e exec