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

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

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Sep 19, 2022, 15:19 UTC
Message-ID
<YyiIkMcADVu+Qbht@tapette.crustytoothpaste.net>
In-Reply-To
<220919.86mtav60wi.gmgdl@evledraar.gmail.com>
On 2022-09-19 at 11:20:13, Ævar Arnfjörð Bjarmason wrote:
Show 5 quoted lines
> I.e. I think a "deadname" use-case of this would probably:
> 
> * Have some comment at the top of .mailmap about why some values are
>   over-encoded (or perhaps it would be obvious to everyone working on
>   that repo why someone was encoding the "plain ASCII" A-Za-z0-9 space).

I don't think we need to do this. First of all, it makes people curious and nosy, and it draws attention to the situation when in many cases, other contributors might not even notice as they're updating the mailmap. Adding lots of attention is going to add the potential for harassment.

Show 5 quoted lines
> But should not:
> 
> * Assume that other tools such as "fsck", "check-mailmap" or even "log"
>   won't have future features that make de-obscuring these values easier,
>   or something that's part of a normal workflow.

Your statement that you intended to write exactly such a feature was the main reason I dropped the SHA-256 hashed mailmap series. I don't think it's constructive to offer or propose to offer such a feature in Git if we're trying to obscure people's names in the mailmap, and as such I would want to see a guarantee that we wouldn't implement or accept such a feature. I don't see the point of obscuring names in the mailmap if we're just going to print them next to each other in the future, and I don't think it's moving us towards a solution to suggest that we might do that in the future.

I'm happy to resurrect my SHA-256 hashed mailmap series if we're all willing to agree to not implement trivial decoding features.

I also have an alternate proposal which I pitched to some folks at Git Merge and which I just finished writing up that basically moves personal names and emails out of commits, replacing them with opaque identifiers, and using a constantly squashed mailmap commit in a special ref to store the mapping. This doesn't address changing identities in existing commits, which as we've seen are nearly impossible to fix, but it does address new ones. I've sent it out at https://lore.kernel.org/git/20220919145231.48245-1-sandals@crustytoothpaste.net/.

We may in fact want to do both of these things (hashed or encoded mailmap and opaque identifiers with squashed mailmap) at once.

-- 
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA
Previous: rsbecker@nexbridge.comNext: Junio C Hamano
Message 6 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.