summaryrefslogtreecommitdiffstats
path: root/BaseTools/Scripts/SetupGit.py
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daude <philmd@redhat.com>2020-02-05 06:49:16 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-06 13:16:09 +0000
commita4960cf1b6c225b2d993b4f9c467b495a6e7dda2 (patch)
tree880f498706900123792268e143d54a40382a1948 /BaseTools/Scripts/SetupGit.py
parent8778ee616a623480959b2cc1934e485eedf022c6 (diff)
downloadedk2-a4960cf1b6c225b2d993b4f9c467b495a6e7dda2.tar.gz
edk2-a4960cf1b6c225b2d993b4f9c467b495a6e7dda2.tar.bz2
edk2-a4960cf1b6c225b2d993b4f9c467b495a6e7dda2.zip
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 <philmd@redhat.com> Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Scripts/SetupGit.py')
-rw-r--r--BaseTools/Scripts/SetupGit.py1
1 files changed, 1 insertions, 0 deletions
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},