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

Re: [PATCH] commit encoding: store it in commit header rather than mucking with NUL

From
Jakub Narebski <jnareb@gmail.com>
Date
Dec 25, 2006, 22:54 UTC
Message-ID
<empkme$qp$2@sea.gmane.org>
In-Reply-To
<7vr6uoo2ow.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 10 quoted lines
> I was afraid that there might be something we did (or we did not
> do) that encouraged people to have their names (via environment
> variables, or perhaps user.name) always in UTF-8 while recording
> the log messages in the legacy encoding, and if that kind of use
> is already done in the wild, we would end up having to not
> reencode the header field but reencode the body.
> 
> But I do not think we ever encouraged encoding names in UTF-8 or
> anything else (we did encourage use of UTF-8 in the commit log),
> so I think we are Ok.
  
By the way, it would be nice to have .mailmap like mechanism to tell git
that those two (three or more) names are the same comitter and should be
shown (at least in git-shortlog) as this. This is because some people
changed their email, some people have sometimes middle initial and
sometimes not, some people have name outside US-ASCII and it is sometimes
broken...
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Junio C Hamano
Message 6 of 6 in “Re: i18n.logToUTF8: convert commit log message to UTF-8”
  1. Johannes SchindelinDec 24, 2006
  2. commit encoding: store it in commit header rather than mucking with NULJohannes Schindelin, Dec 24, 2006
  3. Junio C HamanoDec 25, 2006
  4. Johannes SchindelinDec 25, 2006
  5. Junio C HamanoDec 25, 2006
  6. Jakub NarebskiDec 25, 2006

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.