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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2021-08-22 at 14:19:33, Daniel P. wrote:
> If user.name's  value has a . as the last character of the last part
> of the name, git is removing it from commit operations. But git-config
> shows the .
> 
> example:
> 
> in .gitconfig:
> 
> [user]
>     name = Daniel P.
> 
> 
> `git config user.name`:
> 
> user.name=Daniel P.
> 
> 
> from `git show`:
> 
> Author: Daniel P <danpltile@xxxxxxxxx>

Yes, it does appear we do that.  We consider a period to be "crud" and
strip off trailing crud.  I think we should probably change that, since
in some places people write their family name first, and so a name like
“carlson brian m.” might be a thing people might want to write, in
addition to this particular case.

In any event, it's not very polite to "correct" people's names for them.
I myself have certainly run into that often enough.
-- 
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux