git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Cleaning up log messages
@ 2008-07-27 17:50 Jon Smirl
  2008-07-27 18:01 ` Johannes Schindelin
  2008-07-27 18:47 ` Junio C Hamano
  0 siblings, 2 replies; 10+ messages in thread
From: Jon Smirl @ 2008-07-27 17:50 UTC (permalink / raw)
  To: Git Mailing List

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-07-27 20:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-27 17:50 Cleaning up log messages Jon Smirl
2008-07-27 18:01 ` Johannes Schindelin
2008-07-27 18:16   ` Jon Smirl
2008-07-27 18:33     ` Petr Baudis
2008-07-27 19:07       ` Jon Smirl
2008-07-27 19:20         ` Johannes Schindelin
2008-07-27 19:31           ` Jon Smirl
2008-07-27 20:16             ` Johannes Schindelin
2008-07-27 18:47 ` Junio C Hamano
2008-07-27 20:52   ` Jon Smirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).