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

Re: Git is removing . from the last part of user.name

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 31, 2023, 15:56 UTC
Message-ID
<xmqq351413dy.fsf@gitster.g>
In-Reply-To
<CUFTY8BW9NHM.132KSE56BDE8Q@badwolf>
"Thomas J. Faughnan Jr." <thomas@faughnan.net> writes:
Show 6 quoted lines
>> On a somewhat lesser note, I'm tempted to say that "." probably was
>> never that useful (compared to say, comma, which is the gecos
>> separator), and we could probably just drop it from the crud list.
>
> Would this change still be considered? Or alternatively a git config
> option to ignore "." when checking if a character is crud?
That is certainly a blast from the past ;-)
I actually was wondering the opposite should be done, i.e. be
consistent and remove '.'  just like '<' and '>' even from the
middle of names.  '.' in the human-readable name part anywhere on
To: and Cc: lines, not just at the end, causes mailers to barf,
unless such name is quoted.

And from the consistency point of view, I think that a configuration variable that tells Git to include/exclude "." from the "crud()" letter should make us drop/keep "." from anywhere in the name, not just at the tail end. If we decide that adding such a configuration variable is a good idea, that is.

Previous: Thomas J. Faughnan Jr.Next: brian m. carlson
Message 7 of 15 in “Git is removing . from the last part of user.name”
  1. Daniel P.Aug 22, 2021
  2. brian m. carlsonAug 22, 2021
  3. Jeff KingAug 22, 2021
  4. Jeff KingAug 22, 2021
  5. Junio C HamanoAug 23, 2021
  6. Thomas J. Faughnan Jr.Jul 30, 2023
  7. Junio C HamanoJul 31, 2023
  8. brian m. carlsonJul 31, 2023
  9. ident: don't consider trailing dot crudbrian m. carlson, Jul 31, 2023
  10. Junio C HamanoJul 31, 2023
  11. Junio C HamanoAug 2, 2023
  12. brian m. carlsonAug 2, 2023
  13. Junio C HamanoAug 2, 2023
  14. Thomas J. Faughnan Jr.Jul 31, 2023
  15. Junio C HamanoJul 31, 2023

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.