From e6b1d4417021ccc84bc3666d03aed2735fd21e85 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Mon, 9 Nov 2020 20:11:27 +0000 Subject: [PATCH] lint: Re-exclude subtrees from lint-include-guards.sh These are external libraries, and it does not make sense to maintain an otherwise-meaningless diff from upstream. This partially reverts commit 1e6d1837a0f65cd54c604fddeb9d973e8f576f96. --- test/lint/lint-include-guards.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lint/lint-include-guards.sh b/test/lint/lint-include-guards.sh index 93d252e34..669b454e8 100755 --- a/test/lint/lint-include-guards.sh +++ b/test/lint/lint-include-guards.sh @@ -12,7 +12,7 @@ HEADER_ID_PREFIX="ZCASH_" HEADER_ID_PREFIX_UPSTREAM="BITCOIN_" HEADER_ID_SUFFIX="_H" -REGEXP_EXCLUDE_FILES_WITH_PREFIX="src/(leveldb/|secp256k1/|univalue/)" +REGEXP_EXCLUDE_FILES_WITH_PREFIX="src/(crypto/ctaes/|leveldb/|secp256k1/|tinyformat.h|univalue/)" EXIT_CODE=0 for HEADER_FILE in $(git ls-files -- "*.h" | grep -vE "^${REGEXP_EXCLUDE_FILES_WITH_PREFIX}")