diff options
author | Tom Hughes <tomhughes@chromium.org> | 2019-08-16 11:47:35 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-21 00:41:10 +0000 |
commit | 48c3f0986efb0268f77b31ee38db78b3cef31908 (patch) | |
tree | 5ea73fc0bb13421189c1922c52cadde9a00639b6 /util/presubmit_check.sh | |
parent | 55ed8ec848dad3cc6925978959141993df62a8ae (diff) | |
download | chrome-ec-48c3f0986efb0268f77b31ee38db78b3cef31908.tar.gz |
util/presubmit_check.sh: Exclude README.md and navbar.md files
These files aren't used by "make buildall", so it shouldn't cause a
developer to run "make buildall" before submitting a change to the file.
BUG=None
BRANCH=None
TEST=Modify navbar.md. Try to upload and verify that the presubmit check
does not flag it.
Change-Id: Ia4eaa7009aa52b7a096171e66e6541694ef73032
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1758539
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'util/presubmit_check.sh')
-rwxr-xr-x | util/presubmit_check.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/presubmit_check.sh b/util/presubmit_check.sh index 865944201b..fe4b679494 100755 --- a/util/presubmit_check.sh +++ b/util/presubmit_check.sh @@ -42,6 +42,10 @@ changed=$(echo "${changed}" | grep -v util/uart_stress_tester.py) changed=$(echo "${changed}" | grep -v util/presubmit_check.sh) # Filter out the OWNERS file. changed=$(echo "${changed}" | grep -v OWNERS) +# Filter out the README.md file. +changed=$(echo "${changed}" | grep -v README.md) +# Filter out the navbar.md file. +changed=$(echo "${changed}" | grep -v navbar.md) # Filter out markdown docs/ directory changed=$(echo "${changed}" | grep -v docs/) if [[ -n "${changed}" ]]; then |