ff22b6aca6
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> |
||
---|---|---|
.. | ||
config | ||
cross-repo-cherrypick | ||
description.md | ||
dts-to-fmd.sh | ||
find-unused-kconfig-symbols.sh | ||
gerrit-rebase | ||
get_maintainer.pl | ||
maintainers.go | ||
no-fsf-addresses.sh | ||
parse-maintainers.pl | ||
prepare-commit-msg.clang-format | ||
ucode_h_to_bin.sh | ||
update_submodules |