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

Re: blame --line-porcelain is providing me with funny output

From
Dennis Kaarsemaker <dennis@kaarsemaker.net>
Date
Mar 23, 2017, 11:03 UTC
Message-ID
<1490266989.10080.6.camel@kaarsemaker.net>
In-Reply-To
<CAOc6etYTDyyRud9D3jubh7tC9MeyGZXONWM+=Kb+uwx0voSLpw@mail.gmail.com>
On Wed, 2017-03-22 at 18:32 -0600, Edmundo Carmona Antoranz wrote:
Show 9 quoted lines
> 
> $ git blame --no-progress -w --line-porcelain -L 72,72
> author-mail <somemail@gmail.com>
> 
> $ git cat-file -p 3290fe6dd2a7e2bb35ac760443335dec58802ff1
> author Stefan Beller <somemail@google.com> 1484160452 -0800
> 
> Committer mails are matching, however author mail does not match
> between line-porcelain and cat-file. Is there a reason for that?

The commit object has Stefan's Google address, but git.git's mailmap maps that to his gmail address.

git blame actually does this mapping, where git cat-file does not.
-- 
Dennis Kaarsemaker
http://www.kaarsemaker.net
Previous: Edmundo Carmona AntoranzNext: Stefan Beller
Message 2 of 3 in “blame --line-porcelain is providing me with funny output”
  1. Edmundo Carmona AntoranzMar 23, 2017
  2. Dennis KaarsemakerMar 23, 2017
  3. Stefan BellerMar 23, 2017

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.