summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-09-27 00:37:59 +0200
committerTao Bao <tbao@google.com>2017-11-03 00:23:58 +0100
commit6b1aae376a06837d03e96fd19e842d995d967c1f (patch)
treec4eb62412169843499b196496e8d0ae0a349eb39
parentMerge "Add libbrotli as a dependency for libbsdiff" (diff)
downloadandroid_bootable_recovery-6b1aae376a06837d03e96fd19e842d995d967c1f.tar
android_bootable_recovery-6b1aae376a06837d03e96fd19e842d995d967c1f.tar.gz
android_bootable_recovery-6b1aae376a06837d03e96fd19e842d995d967c1f.tar.bz2
android_bootable_recovery-6b1aae376a06837d03e96fd19e842d995d967c1f.tar.lz
android_bootable_recovery-6b1aae376a06837d03e96fd19e842d995d967c1f.tar.xz
android_bootable_recovery-6b1aae376a06837d03e96fd19e842d995d967c1f.tar.zst
android_bootable_recovery-6b1aae376a06837d03e96fd19e842d995d967c1f.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