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

Re: git-shortlog mailmap

From
Jakub Narebski <jnareb@gmail.com>
Date
Oct 26, 2006, 13:13 UTC
Message-ID
<ehqc8r$2nc$1@sea.gmane.org>
In-Reply-To
<4540AD6E.6070201@op5.se>
Andreas Ericsson wrote:
Show 25 quoted lines
> Jakub Narebski wrote:
>> Petr Baudis wrote:
>>>
>>> Dear diary, on Thu, Oct 26, 2006 at 11:25:50AM CEST, I got a letter
>>> where Jakub Narebski <jnareb@gmail.com> said that...
>>>>
>>>> BTW. both Perl version and builtin shorlog have email->real name translation
>>>> table built in. In Perl script version it is in __DATA__ section, and we
>>>> could update it using Inline::Files module, in C version it was in table.
>>>> But in fact this list is project specific. Shouldn't we make it customizable
>>>> (::sigh::, yet another file in $GIT_DIR...).
>>>>
>>> I really dislike the fact that we _do_ this mapping at all, this seems
>>> so much a totally wrong point at which to do it. The information tracked
>>> in Git is still wrong and all the tools except shortlog still display it
>>> wrong - why should shortlog in particular be special? Why don't we do
>>> this at the git-am time instead?
>> 
>> Because git-shortlog has to deal also with _historical_ data, which caused
>> one way or the other to have only email and not realname recorded. So till
>> history gets rewritteen, and tags resigned, git-shortlog has to do the
>> mapping to have meaningfull output.
> 
> Wouldn't this be better implemented in the rev-list code then, so all 
> log viewers can benefit from it?

Because this belongs to porcelain. Plumbing shouldn't show something that isn't there.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Andreas EricssonNext: Johannes Schindelin
Message 14 of 26 in “What's in git.git”
  1. Junio C HamanoOct 26, 2006
  2. Jakub NarebskiOct 26, 2006
  3. Junio C HamanoOct 26, 2006
  4. Petr BaudisOct 26, 2006
  5. Jakub NarebskiOct 26, 2006
  6. merge-recursive, was Re: What's in git.gitJohannes Schindelin, Oct 26, 2006
  7. Jakub NarebskiOct 26, 2006
  8. Junio C HamanoOct 26, 2006
  9. Jakub NarebskiOct 26, 2006
  10. Nicolas PitreOct 26, 2006
  11. git-shortlog mailmapPetr Baudis, Oct 26, 2006
  12. Jakub NarebskiOct 26, 2006
  13. Andreas EricssonOct 26, 2006
  14. Jakub NarebskiOct 26, 2006
  15. Johannes SchindelinOct 26, 2006
  16. Petr BaudisOct 26, 2006
  17. Junio C HamanoOct 26, 2006
  18. Junio C HamanoOct 26, 2006
  19. Johannes SchindelinOct 26, 2006
  20. shortlog, was Re: merge-recursive, was Re: What's in git.gitAndreas Ericsson, Oct 26, 2006
  21. Nicolas PitreOct 26, 2006
  22. Andreas EricssonOct 26, 2006
  23. Jakub NarebskiOct 26, 2006
  24. Petr BaudisOct 27, 2006
  25. Petr BaudisOct 26, 2006
  26. Andy WhitcroftOct 26, 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.