Thread (8 messages) flat view 8 messages, 3 authors, 2016-06-15

Cleaning up log messages

From: Jon Smirl <hidden>
Date: 2016-06-15 22:45:03

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 [off-list ref]
Author: Greg KH [off-list ref]
Author: Greg KH [off-list ref]
Author: Greg KH <greg@press.(none)>
Author: gregkh@suse.de [off-list ref]
Author: Greg Kroah-Hartman <gregkh@suse>
Author: Greg Kroah-Hartman [off-list ref]
Author: Greg Kroah-Hartman [off-list ref]

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help