coreboot-kgpe-d16/util/gitconfig
Edward O'Callaghan 4139c15276 util/gitconfig/pre-commit: Use clang-format to sanitise commits
Use the `git-format' tool to sanitise coreboot commits such that
they conform to coreboot's coding style.

This fancy piece of machinary allows one to have LibFormat from
Clang to automatically check your commit conforms to coreboot's
coding style, fix any issues automatically and provides you a
diff you may review and apply at your convenience.

N.B. When the `clang-format' binary is not found we issue a warning
that the test was skipped and carry on as usual. Hence, this is
strictly non-enforcing at this current time. You may use it at your
leisure.

Change-Id: If49017ea82f0707efd47cae5978a286a9af8f3b7
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: https://review.coreboot.org/c/8037
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-01-04 10:37:10 +00:00
..
test util/gitconfig/test: Add commit-msg hook test 2018-11-16 10:08:48 +00:00
commit-msg
description.md util: Add description.md to each util 2018-07-26 13:26:50 +00:00
gitconfig.sh treewide: use /usr/bin/env where appropriate 2018-11-17 07:32:03 +00:00
pre-commit util/gitconfig/pre-commit: Use clang-format to sanitise commits 2019-01-04 10:37:10 +00:00