blob: 12604f91de68273630e5a721115e666b33c609f8 [file] [log] [blame]
Julien Desprez204b62b2018-09-17 10:02:19 -07001[Builtin Hooks]
2google_java_format = true
3
4[Tool Paths]
5google-java-format = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format
6google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format-diff.py
7
Julien Desprezf228b5c2018-09-17 12:55:40 -07008[Hook Scripts]
9# `^.` is a RegExr that matches any character at the beginning, so this hook
10# is basically applied to ALL files in a git commit.
11aospcheck_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^."