[coreboot-gerrit] New patch to review for coreboot: e86243a lint-stable: Ignore .bin files for whitespace check.

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Mon Nov 24 09:06:00 CET 2014


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7567

-gerrit

commit e86243acdb0a101748718feb0b0c2ceacc556e2e
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Sun Nov 23 22:13:02 2014 +0100

    lint-stable: Ignore .bin files for whitespace check.
    
    .bin is the most convenient format for storing SPDs and since it's
    not text format, whitespace check is useless and gives false positives.
    
    Change-Id: I8a7569eac8a1dfbffabe166a38e4dd3e895fdef1
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 util/lint/lint-stable-003-whitespace | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/lint/lint-stable-003-whitespace b/util/lint/lint-stable-003-whitespace
index 4c0a5fd..22c5c3c 100755
--- a/util/lint/lint-stable-003-whitespace
+++ b/util/lint/lint-stable-003-whitespace
@@ -19,6 +19,6 @@
 # DESCR: Check for superfluous whitespace in the tree
 
 LC_ALL=C export LC_ALL
-grep -l "[[:space:]][[:space:]]*$" `git ls-files src util |egrep -v "(^3rdparty|^src/vendorcode/|^util/kconfig/|\<COPYING\>|\<LICENSE\>|\<README\>|_shipped$|\.patch$)"` | \
+grep -l "[[:space:]][[:space:]]*$" `git ls-files src util |egrep -v "(^3rdparty|^src/vendorcode/|^util/kconfig/|\<COPYING\>|\<LICENSE\>|\<README\>|_shipped$|\.patch|\.bin$)"` | \
 	sed -e "s,^.*$,File & has lines ending with whitespace.,"
 



More information about the coreboot-gerrit mailing list