[coreboot-gerrit] New patch to review for coreboot: 01d2498 util/lint/lint-stable-003-whitespace: Do not check files with suffix `swp`
Paul Menzel (paulepanter@users.sourceforge.net)
gerrit at coreboot.org
Sat Jun 7 13:52:28 CEST 2014
Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5953
-gerrit
commit 01d2498cec11a4c25049bc78aeb0c2bb35d6d33b
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date: Sat Jun 7 13:36:42 2014 +0200
util/lint/lint-stable-003-whitespace: Do not check files with suffix `swp`
Editing a file in Vim, saving it and wanting to commit the changes
without closing Vim, the lint whitespace error check fails, preventing
to commit the change, when the Git hooks are run.
lint-stable-003-whitespace
Check for superfluous whitespace in the tree
========
test failed:
File src/device/.device_util.c.swp has lines ending with whitespace.
========
Therefore let the whitespace error check ignore Vim swap files.
Change-Id: Ib551cb1cae03a28f52909891efdfc2c581c2fad1
Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
util/lint/lint-stable-003-whitespace | 1 +
1 file changed, 1 insertion(+)
diff --git a/util/lint/lint-stable-003-whitespace b/util/lint/lint-stable-003-whitespace
index 1e824a1..6758f16 100755
--- a/util/lint/lint-stable-003-whitespace
+++ b/util/lint/lint-stable-003-whitespace
@@ -29,6 +29,7 @@ find src util -name .svn -type d -prune -o \
-name \*.txt -prune -o \
-name \*.exe -prune -o \
-name \*.o -prune -o \
+ -name \*.swp -prune -o \
-name microcode-\*.h -prune -o \
-name \*.?_shipped -prune -o \
-name \*.[18] -prune -o \
More information about the coreboot-gerrit
mailing list