commit | 439263cb833467a5de1566961cd007d5835a9bd3 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Fri Nov 03 03:27:15 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Nov 03 03:27:15 2017 +0000 |
tree | c4eb62412169843499b196496e8d0ae0a349eb39 | |
parent | 43f194c8bc383fdda40505813db98c9f7860417b [diff] | |
parent | 6b1aae376a06837d03e96fd19e842d995d967c1f [diff] |
Merge "Add a repohook to clang-format changes."
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg new file mode 100644 index 0000000..b5f5f03 --- /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