commit | 5c54ce150c53598c2cdeb5a87ec6aa7f445009f8 | [log] [tgz] |
---|---|---|
author | Myles Watson <mylesgw@google.com> | Thu Mar 30 09:13:50 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Thu Mar 30 13:30:21 2017 -0700 |
tree | de54d1499ff3735daf35c2d917087f7a9ce31424 | |
parent | 63e15f079062579a1b1866026eee0fca5d677fb7 [diff] [blame] |
Enable the clang-format pre-submit hook Bug: 36699008 Test: Try to upload a patch with formatting errors. Change-Id: I4af7d142ccbbaf39eb236547487c59c5ff8f2cd6
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg new file mode 100644 index 0000000..213c93a --- /dev/null +++ b/PREUPLOAD.cfg
@@ -0,0 +1,5 @@ +[Options] +ignore_merged_commits = true + +[Builtin Hooks] +clang_format = true