From 3690546795dec9adf4a1bc36f8a8465d999ca1f1 Mon Sep 17 00:00:00 2001 From: Rangi Date: Tue, 29 Dec 2020 13:52:49 -0500 Subject: [PATCH] `make checkpatch` and `make checkcodebase` check the same files Only check src and include (not test), and exclude src/extern and include/extern. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 39c98dd8..4b3c232d 100644 --- a/Makefile +++ b/Makefile @@ -185,6 +185,7 @@ checkpatch: for commit in `git rev-list $$COMMON_COMMIT..HEAD`; do \ echo "[*] Analyzing commit '$$commit'"; \ git format-patch --stdout "$$commit~..$$commit" \ + -- src include '!src/extern' '!include/extern' \ | ${CHECKPATCH} - || true; \ done