diff options
author | Tao Bao <tbao@google.com> | 2017-11-03 04:31:14 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-11-03 04:31:14 +0100 |
commit | f3e2017309a4c01a7762f9c91e0e0773a96b50f9 (patch) | |
tree | c4eb62412169843499b196496e8d0ae0a349eb39 | |
parent | Merge commit '04bcf3ee761d8648d0247dd8322e3542c0319464' from (diff) | |
parent | Merge "Add a repohook to clang-format changes." (diff) | |
download | android_bootable_recovery-f3e2017309a4c01a7762f9c91e0e0773a96b50f9.tar android_bootable_recovery-f3e2017309a4c01a7762f9c91e0e0773a96b50f9.tar.gz android_bootable_recovery-f3e2017309a4c01a7762f9c91e0e0773a96b50f9.tar.bz2 android_bootable_recovery-f3e2017309a4c01a7762f9c91e0e0773a96b50f9.tar.lz android_bootable_recovery-f3e2017309a4c01a7762f9c91e0e0773a96b50f9.tar.xz android_bootable_recovery-f3e2017309a4c01a7762f9c91e0e0773a96b50f9.tar.zst android_bootable_recovery-f3e2017309a4c01a7762f9c91e0e0773a96b50f9.zip |
-rw-r--r-- | PREUPLOAD.cfg | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg new file mode 100644 index 000000000..b5f5f0362 --- /dev/null +++ b/PREUPLOAD.cfg @@ -0,0 +1,6 @@ +[Builtin Hooks] +clang_format = true + +[Builtin Hooks Options] +# Handle native codes only. +clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp |