From a4960cf1b6c225b2d993b4f9c467b495a6e7dda2 Mon Sep 17 00:00:00 2001 From: Philippe Mathieu-Daude Date: Wed, 5 Feb 2020 06:49:16 +0800 Subject: [PATCH] BaseTools/Scripts: Add log.mailmap to SetupGit.py We added .mailmap to the repository in commit 4a1aeca3bd02d04e01c2d to display commit mistakes fixed. Use this option by default in our git setup. Signed-off-by: Philippe Mathieu-Daude Cc: Bob Feng Cc: Liming Gao Reviewed-by: Laszlo Ersek Reviewed-by: Bob Feng --- BaseTools/Scripts/SetupGit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/BaseTools/Scripts/SetupGit.py b/BaseTools/Scripts/SetupGit.py index 514f1c4d42..e320ba2f88 100644 --- a/BaseTools/Scripts/SetupGit.py +++ b/BaseTools/Scripts/SetupGit.py @@ -74,6 +74,7 @@ OPTIONS = [ {'section': 'format', 'option': 'coverLetter', 'value': True}, {'section': 'format', 'option': 'numbered', 'value': True}, {'section': 'format', 'option': 'signoff', 'value': False}, + {'section': 'log', 'option': 'mailmap', 'value': True}, {'section': 'notes', 'option': 'rewriteRef', 'value': 'refs/notes/commits'}, {'section': 'sendemail', 'option': 'chainreplyto', 'value': False}, {'section': 'sendemail', 'option': 'thread', 'value': True},