shithub: rgbds

Download patch

ref: 3690546795dec9adf4a1bc36f8a8465d999ca1f1
parent: 7bc42d468b43529ccefec1eb813ee11cfa8176e7
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Tue Dec 29 08:52:49 EST 2020

`make checkpatch` and `make checkcodebase` check the same files

Only check src and include (not test), and
exclude src/extern and include/extern.

--- a/Makefile
+++ b/Makefile
@@ -185,6 +185,7 @@
 	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