summaryrefslogtreecommitdiffstats
path: root/PREUPLOAD.cfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-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