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

Cleaning up log messages

From
Jon Smirl <jonsmirl@gmail.com>
Date
Jul 27, 2008, 17:50 UTC
Message-ID
<9e4733910807271050y7fb5f77coec05bd68421baaab@mail.gmail.com>

I was playing around with git log for the kernel and observed that there is a lot of noise when trying to do statistics on the number of commits.

For example:
Author: Greg K-H <gregkh@suse.de>
Author: Greg KH <gregkh@suse.de>
Author: Greg KH <greg@kroah.com>
Author: Greg KH <greg@press.(none)>
Author: gregkh@suse.de <gregkh@suse.de>
Author: Greg Kroah-Hartman <gregkh@suse>
Author: Greg Kroah-Hartman <gregkh@suse.de>
Author: Greg Kroah-Hartman <greg@kroah.com>

I don't see an obvious way to do this with git, but it would be neat to have a 'clean' option on git log that would take each email address (author, signed-off, acked, etc) and map it through a table which would convert old email addresses in to the current one and also standardize the formatting of the names. A cleaned log would be altered on display, but just don't clean it if you want the original.

Of course this initial map would need to be built by hand. New commits could be checked against the map and the mapped updated if the person really has a new email address. Checking new commits against the map would help clean things up going forward. checkpatch.pl could also validate against the mapping file.

No pressing need to for this, it would just be a nice toy.
-- 
Jon Smirl
jonsmirl@gmail.com
Next: Johannes Schindelin
Message 1 of 10 in “Cleaning up log messages”
  1. Jon SmirlJul 27, 2008
  2. Johannes SchindelinJul 27, 2008
  3. Jon SmirlJul 27, 2008
  4. Petr BaudisJul 27, 2008
  5. Jon SmirlJul 27, 2008
  6. Johannes SchindelinJul 27, 2008
  7. Jon SmirlJul 27, 2008
  8. Johannes SchindelinJul 27, 2008
  9. Junio C HamanoJul 27, 2008
  10. Jon SmirlJul 27, 2008

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.