Ivan Labáth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/39087 )
Change subject: util/lint: Permit capitalized coreboot at start of sentence ......................................................................
util/lint: Permit capitalized coreboot at start of sentence
It seems preferred spelling for coreboot is lowercase. On the other hand, it seems proper to capitalize coreboot at start of sentence, especially in proper text.
This patch permits coreboot to be capitalized at start of sentence, line or after colon. Line and colon is mostly due to how grepping works.
Test: Coreboot Test. Coreboot Coreboot
Not permitted - coreboot, coreboot. coreboot (double space).
Change-Id: I344e52262956ba45c3abcd1e878284ba338353f1 Signed-off-by: Ivan Labáth iger@labo.rs --- M util/lint/lint-stable-021-coreboot-lowercase 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/87/39087/1
diff --git a/util/lint/lint-stable-021-coreboot-lowercase b/util/lint/lint-stable-021-coreboot-lowercase index a71d204..b3787e0 100755 --- a/util/lint/lint-stable-021-coreboot-lowercase +++ b/util/lint/lint-stable-021-coreboot-lowercase @@ -16,7 +16,7 @@
LC_ALL=C export LC_ALL
-EXCLUDE='^3rdparty/|util/crossgcc/xgcc|Binary file|coreboot|COREBOOT|CorebootPayload|CorebootModule|minnowboard.org/Coreboot|.*.patch$|CorebootBdsLib|^payloads/external' +EXCLUDE='^3rdparty/|util/crossgcc/xgcc|Binary file|coreboot|COREBOOT|. Coreboot|(^|:) *Coreboot|CorebootPayload|CorebootModule|minnowboard.org/Coreboot|.*.patch$|CorebootBdsLib|^payloads/external'
# Use git grep if the code is in a git repo, otherwise use grep. if [ -n "$(command -v git)" ] && \