commit | 16b7f0a14ca6d1db02c07de1466f602889cb229a | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Fri Dec 09 20:35:34 2016 -0800 |
committer | Nick Kralevich <nnk@google.com> | Mon Dec 12 08:18:01 2016 -0800 |
tree | 21ca38dd65d4427a48ac1379f74285e529c87837 | |
parent | cb4f5b3c5d9d34cd3b0fdeac9932614207615317 [diff] |
Block files without trailing newlines Add a pre-submit check to ensure that files have a newline character at the end. Please see https://android.googlesource.com/platform/tools/repohooks/ for documentation on how PREUPLOAD hooks work. Test: created a change and watched the presubmit check reject it. Change-Id: Id0528cb1bd6fa9c4483ba43720839832f4fec34d