blob: 74e6a6d56745df5fd0b4188df2fd38194bada6bf [file] [log] [blame]
[Options]
#ignore_merged_commits = true
[Builtin Hooks]
clang_format = true
[Builtin Hooks Options]
# Only turn on clang-format check for C and C++ headers and sources
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp,hpp
[Hook Scripts]
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}