From f393cef86f41a45f1ec87e7efd354c7a829e5a17 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 23 Sep 2021 14:02:10 -0700 Subject: Warn on `repo upload` if you're not uploading to AOSP master. Should help save the "please upload against AOSP master" first conversations with people trying to make changes. Test: manual Change-Id: I3d4bfcb0379da12a93e65a3621edda3bbde72a88 --- PREUPLOAD.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg index 28aa06f45..023d48b93 100644 --- a/PREUPLOAD.cfg +++ b/PREUPLOAD.cfg @@ -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/ -- cgit v1.2.3