Skip to content
Snippets Groups Projects
Commit a7faba3e authored by Jack He's avatar Jack He
Browse files

Upload hook that guides people towards AOSP

The canonical location of certain parts of the source tree live in
AOSP, and should not be changed internally to avoid merge conflicts.

WARNING only: The PREUPLOAD script warns developer if the change is
not uploaded on AOSP.

Test: create a CL in master and upload
Change-Id: I9a100d86d31ef35d1f4617c75d523724acf8ae60
parent fa86dd0e
No related branches found
No related tags found
No related merge requests found
......@@ -4,3 +4,6 @@ ignore_merged_commits = true
[Builtin Hooks]
clang_format = true
[Hook Scripts]
aosp_first = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} ".*$"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment