coreboot-kgpe-d16/util/scripts
Ronald G. Minnich ff22b6aca6 make: add clang-format prepare-commit-msg hook
To install this hook, run
make install-git-commit-clangfmt

This will install a pre-commit-msg hook that runs clang-format
on all .c and .h files that are staged.

It will add a clang-formatted-by: <git username>
line to the commit message to indicate that clang-format
was run on the files and that further processing of them
is not needed.

Change-Id: I1773f55b5b4677dad8f4bea017b6328fd93df20c
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: https://review.coreboot.org/27779
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-08-01 18:03:26 +00:00
..
config kconfig: add script to manipulate .config files on the command line 2018-06-12 07:43:15 +00:00
cross-repo-cherrypick util/scripts/cross-repo-cherrypick: improve cros-side rewrite 2017-09-15 20:57:57 +00:00
description.md util: Add description.md to each util 2018-07-26 13:26:50 +00:00
dts-to-fmd.sh util/scripts: add copyright notices 2016-10-25 17:10:14 +02:00
find-unused-kconfig-symbols.sh util/scripts: add some support scripts 2015-06-30 08:24:38 +02:00
gerrit-rebase util/scripts/gerrit-rebase: allow skipping old history 2017-06-19 18:44:13 +02:00
get_maintainer.pl util/scripts/get_maintainer.pl: Remove linux tree check 2017-03-07 15:03:45 +01:00
maintainers.go MAINTAINERS: Add script to test database and find maintainers 2015-10-23 01:47:39 +02:00
no-fsf-addresses.sh util/scripts/no-fsf-addresses.sh: Strip last paragraph 2015-10-31 21:38:15 +01:00
parse-maintainers.pl util/scripts: Add script to alphabetize MAINTAINERS file 2018-04-16 22:25:31 +00:00
prepare-commit-msg.clang-format make: add clang-format prepare-commit-msg hook 2018-08-01 18:03:26 +00:00
ucode_h_to_bin.sh util/scripts: Support cygwin in ucode conversion tool 2016-08-22 04:19:24 +02:00
update_submodules util: Make TZ environment variable POSIX compatible 2017-10-14 11:28:14 +00:00