Merge "Warn on `repo upload` if you're not uploading to AOSP master." am: 026eb31f80 am: fa27392f8a am: 361f8f4118 am: fc87149c4d am: 391de784d3

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1834836

Change-Id: Id7618ecd6bed46636e39dcac5bdb48666e8013da
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
index 28aa06f..023d48b 100644
--- a/PREUPLOAD.cfg
+++ b/PREUPLOAD.cfg
@@ -6,5 +6,6 @@
 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/