Add folder and config for preupload hooks. Folder for custom preupload hooks and a copy of global hooks config. Change-Id: I0c70f85d24d9e518770ea5b0242af722ae0d4b84
diff --git a/preupload-hooks/GLOBAL-PREUPLOAD.cfg b/preupload-hooks/GLOBAL-PREUPLOAD.cfg new file mode 100644 index 0000000..b87fdec --- /dev/null +++ b/preupload-hooks/GLOBAL-PREUPLOAD.cfg
@@ -0,0 +1,13 @@ +# Global `repo upload` hook settings. +# https://android.googlesource.com/platform/tools/repohooks + +[Options] +ignore_merged_commits = true + +[Builtin Hooks] +pylint3 = true +cpplint = true +clang_format = true + +[Builtin Hooks Options] +clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp