Skip to content

Commit

Permalink
Warn on repo upload if you're not uploading to AOSP master.
Browse files Browse the repository at this point in the history
Should help save the "please upload against AOSP master" first
conversations with people trying to make changes.

Test: manual
Change-Id: I3d4bfcb0379da12a93e65a3621edda3bbde72a88
  • Loading branch information
enh-google committed Sep 23, 2021
1 parent afab2ae commit f393cef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PREUPLOAD.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ clang_format = true
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp

[Hook Scripts]
aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "."
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
--file_whitelist tools/ updater_sample/

0 comments on commit f393cef

Please sign in to comment.