[coreboot-gerrit] Patch set updated for coreboot: 0354a58 lint: exclude *.hex files from whitespace checking

Werner Zeh (werner.zeh@siemens.com) gerrit at coreboot.org
Wed Feb 11 07:35:11 CET 2015


Werner Zeh (werner.zeh at siemens.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8403

-gerrit

commit 0354a58ced74a4de3cf6488fa48c470b8e8735ce
Author: Werner Zeh <werner.zeh at siemens.com>
Date:   Tue Feb 10 14:34:17 2015 +0100

    lint: exclude *.hex files from whitespace checking
    
    If one needs raw binary files, .bin extension cannot
    be used due to settings in .gitignore. This patch
    allows to use .hex files. To avoid lint checks on these
    files, exclude the .hex extension from the test.
    
    Change-Id: I4b503229d63694c48cce12ca8cd33ea58172af01
    Signed-off-by: Werner Zeh <werner.zeh at siemens.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 47853ba..f13aa98 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/|^util/nvidia/cbootimage$|\<COPYING\>|\<LICENSE\>|\<README\>|_shipped$|\.patch|\.bin$)"` | \
+grep -l "[[:space:]][[:space:]]*$" `git ls-files src util |egrep -v "(^3rdparty|^src/vendorcode/|^util/kconfig/|^util/nvidia/cbootimage$|\<COPYING\>|\<LICENSE\>|\<README\>|_shipped$|\.patch$|\.bin$|\.hex$)"` | \
 	sed -e "s,^.*$,File & has lines ending with whitespace.,"
 



More information about the coreboot-gerrit mailing list