From 4e49ac8ee395e5c3ba2eaa8a28a054651e003406 Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Thu, 9 Jan 2020 18:50:14 +0000 Subject: [PATCH] Don't check the .git folder for BOM issues. --- tests/bom.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bom.test b/tests/bom.test index ae95e4bf..db9ab054 100755 --- a/tests/bom.test +++ b/tests/bom.test @@ -8,7 +8,7 @@ echo -n "testing for Byte Order Marks in source files ... " # TODO checking for other encodings (e.g. UTF-16, UTF-32, UTF-7) needs more elaborate search, # otherwise it shows many false positives -egrep -rlI $'\xEF\xBB\xBF' . | tee tests/bom.check >/dev/null # UTF-8 +egrep -rlI $'\xEF\xBB\xBF' * | tee tests/bom.check >/dev/null # UTF-8 if [ -s tests/bom.check ] ; then echo "found:"