ANDROID: Enable repo hooks

Run checkpatch and commit message checks on repo upload

Bug: 251568352
Change-Id: Ief6467b0de69d0b53c1dc61353a1eb30dd590629
Signed-off-by: Arve Hjønnevåg <arve@android.com>
This commit is contained in:
Arve Hjønnevåg 2022-10-06 16:13:44 -07:00 committed by Ji Luo
parent 7d8d98bc5e
commit da00a4d602

7
PREUPLOAD.cfg Normal file
View File

@ -0,0 +1,7 @@
[Builtin Hooks]
checkpatch = true
commit_msg_bug_field = true
commit_msg_changeid_field = true
[Builtin Hooks Options]
checkpatch = --ignore=FILE_PATH_CHANGES,GERRIT_CHANGE_ID