From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: devel@edk2.groups.io
Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>,
"Bob Feng" <bob.c.feng@intel.com>,
"Liming Gao" <liming.gao@intel.com>
Subject: [PATCH 3/3] BaseTools/Scripts: Add log.mailmap to SetupGit.py
Date: Tue, 4 Feb 2020 23:49:16 +0100 [thread overview]
Message-ID: <20200204224916.11320-4-philmd@redhat.com> (raw)
In-Reply-To: <20200204224916.11320-1-philmd@redhat.com>
From: Philippe Mathieu-Daudé <philmd@redhat.com>
We added .mailmap to the repository in commit 4a1aeca3bd02d04e01c2d
to display commit mistakes fixed. Use this option by default in our
git setup.
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
---
BaseTools/Scripts/SetupGit.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/BaseTools/Scripts/SetupGit.py b/BaseTools/Scripts/SetupGit.py
index 514f1c4d42d4..e320ba2f887e 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},
--
2.21.1
next prev parent reply other threads:[~2020-02-04 22:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-04 22:49 [PATCH 0/3] BaseTools/Scripts: .mailmap improvements Philippe Mathieu-Daudé
2020-02-04 22:49 ` [PATCH 1/3] BaseTools/Scripts/PatchCheck.py: Do not use mailmap Philippe Mathieu-Daudé
2020-02-04 22:49 ` [PATCH 2/3] BaseTools/Scripts/PatchCheck.py: Detect emails rewritten by Groups.Io Philippe Mathieu-Daudé
2020-02-04 22:49 ` Philippe Mathieu-Daudé [this message]
2020-02-04 23:19 ` [edk2-devel] [PATCH 0/3] BaseTools/Scripts: .mailmap improvements Laszlo Ersek
2020-02-05 13:47 ` Bob Feng
[not found] ` <15F085AE91AD138D.27054@groups.io>
2020-02-06 13:58 ` [edk2-devel] " Bob Feng
2020-02-06 23:47 ` Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200204224916.11320-4-philmd@redhat.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox