[PATCH 1/3] dim: use git show --no-use-mailmap for checkpatch

Jani Nikula jani.nikula at intel.com
Mon May 15 13:47:28 UTC 2023


As we checkpatch the applied commits rather than the patches, avoid
mailmap conversions, if any. Otherwise we might get complaints about
author Signed-off-by missing.

Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 dim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dim b/dim
index 76e160c1a7f8..126568e8a073 100755
--- a/dim
+++ b/dim
@@ -1771,7 +1771,7 @@ function checkpatch_commit
 	checkpatch_options="-q --emacs --strict --show-types $profile_options -"
 
 	git --no-pager log --oneline -1 $commit
-	if ! git show --pretty=email $commit |\
+	if ! git show --no-use-mailmap --pretty=email $commit |\
 			scripts/checkpatch.pl $checkpatch_options; then
 		rv=1
 	fi
-- 
2.39.2



More information about the dim-tools mailing list