Re: Cleaning up log messages
On 7/27/08, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 30 quoted lines
> Hi,
>
>
> On Sun, 27 Jul 2008, Jon Smirl wrote:
>
> > 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.
>
>
> Something like .mailmap?
>
> And to show the mapped author name instead of the committed one, you would
> use "--pretty=format:%aN"? (Needs 1.6.0-rc0 at least, IIRC)
So we can already do this? Where is a .mailmap for the kernel tree?
--
Jon Smirl
jonsmirl@gmail.com