On 12/6/19 1:24 PM, Laszlo Ersek wrote:
On 12/06/19 12:24, Philippe Mathieu-Daudé wrote:
The .mailmap git feature helps fixing commit mistakes (in name/email).

The easiest way to use it is with the --use-mailmap flag:

   $ git log --use-mailmap

See:
* https://git-scm.com/docs/git-shortlog#_mapping_authors
* https://git-scm.com/docs/git-check-mailmap#_mapping_authors

Signed-off-by: Philippe Mathieu-Daude <phi...@redhat.com>
---
  .mailmap | 11 +++++++++++
  1 file changed, 11 insertions(+)
  create mode 100644 .mailmap

diff --git a/.mailmap b/.mailmap
new file mode 100644
index 000000000000..6d88189a58d4
--- /dev/null
+++ b/.mailmap
@@ -0,0 +1,11 @@
+#
+# This list is used by git-shortlog to fix a few botched name translations
+# in the git archive, either because the author's full name was messed up
+# and/or not always written the same way, making contributions from the
+# same person appearing not to be so or badly displayed.
+#
+# Please keep this file sorted alphabetically, and email in lowercase.
+# The format used is:
+#
+#   Firstname Lastname <em...@domain.tld>
+#


Assuming this new text file uses CRLF line terminators (for consistency
with the rest of the project at this time):

Yes it does:

$ file .mailmap
.mailmap: UTF-8 Unicode text, with CRLF line terminators


Reviewed-by: Laszlo Ersek <ler...@redhat.com>

Thanks!


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#52664): https://edk2.groups.io/g/devel/message/52664
Mute This Topic: https://groups.io/mt/67467660/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to