git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Wildcards in mailmap to hide transgender people's deadnames

From
René Scharfe <l.s.r@web.de>
Date
Sep 14, 2022, 07:40 UTC
Message-ID
<854127f2-55aa-5636-813d-d91b8a4cdcbc@web.de>
In-Reply-To
<2e846a72-a4c6-2a5a-255a-15eee037f574@fwdekker.com>
Am 13.09.22 um 23:53 schrieb Florine W. Dekker:
> Now, John can now add the following line to their mailmap config:
> `John Doe <john.doe@example.com> <\*.doe@example.com>`, which does
> not reveal their old name.

That would falsely attribute the work of possible future developers ann.doe@example.com and bob.doe@example.com to John as well.

Supporting hashed entries would allow for a more targeted obfuscation. That was discussed a while ago: https://lore.kernel.org/git/20210103211849.2691287-1-sandals@crustytoothpaste.net/

> Someone could always spend more effort to uncover the name using more
> advanced tools, but the point of this feature is to prevent
> accidental discovery of the name in cases where completely hiding the
> name is not feasible.

Extracting old email addresses from a repository is easy by comparing authors' email addresses without and with mailmap applied, no advanced tools required. Here's mine from Git's own repo:

   $ git log --format='%ae %aE' |
     awk '$1 != $2 && !a[$0] {a[$0] = 1; print}' |
     grep -F l.s.r@web.de
   rene.scharfe@lsrfire.ath.cx l.s.r@web.de
The same can be done with names (%an/%aN).
René
Previous: Florine W. DekkerNext: Florine W. Dekker
Message 2 of 14 in “Wildcards in mailmap to hide transgender people's deadnames”
  1. Florine W. DekkerSep 13, 2022
  2. René ScharfeSep 14, 2022
  3. Florine W. DekkerSep 14, 2022
  4. Ævar Arnfjörð BjarmasonSep 19, 2022
  5. rsbecker@nexbridge.comSep 19, 2022
  6. brian m. carlsonSep 19, 2022
  7. Junio C HamanoSep 19, 2022
  8. brian m. carlsonSep 19, 2022
  9. Ævar Arnfjörð BjarmasonSep 20, 2022
  10. Florine W. DekkerSep 20, 2022
  11. Junio C HamanoSep 21, 2022
  12. Ævar Arnfjörð BjarmasonSep 26, 2022
  13. Florine W. DekkerSep 16, 2022
  14. brian m. carlsonSep 20, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.