summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-11-03 04:35:46 +0100
committerandroid-build-merger <android-build-merger@google.com>2017-11-03 04:35:46 +0100
commit9cbe11ee32d584d9b7f1e5abbb32e56b84676f61 (patch)
tree61955d77dcdad702fe62c8ec626046d492b8d427
parentMerge commit '04bcf3ee761d8648d0247dd8322e3542c0319464' from oc-mr1-dev-plus-aosp into stage-aosp-master am: 04a8b2b532 (diff)
parentMerge "Add a repohook to clang-format changes." am: 439263cb83 (diff)
downloadandroid_bootable_recovery-9cbe11ee32d584d9b7f1e5abbb32e56b84676f61.tar
android_bootable_recovery-9cbe11ee32d584d9b7f1e5abbb32e56b84676f61.tar.gz
android_bootable_recovery-9cbe11ee32d584d9b7f1e5abbb32e56b84676f61.tar.bz2
android_bootable_recovery-9cbe11ee32d584d9b7f1e5abbb32e56b84676f61.tar.lz
android_bootable_recovery-9cbe11ee32d584d9b7f1e5abbb32e56b84676f61.tar.xz
android_bootable_recovery-9cbe11ee32d584d9b7f1e5abbb32e56b84676f61.tar.zst
android_bootable_recovery-9cbe11ee32d584d9b7f1e5abbb32e56b84676f61.zip
-rw-r--r--PREUPLOAD.cfg6
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