Re: Cleaning up log messages
On 7/27/08, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 28 quoted lines
> Hi,
>
>
> On Sun, 27 Jul 2008, Jon Smirl wrote:
>
> > On 7/27/08, Petr Baudis <pasky@suse.cz> wrote:
> > > On Sun, Jul 27, 2008 at 02:16:30PM -0400, Jon Smirl wrote:
> > > > On 7/27/08, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> > >
> > > > > 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?
> > >
> > > http://repo.or.cz/w/linux-2.6.git?a=blob;f=.mailmap
> > >
> > > ...right there. :-)
> >
> > I updated to 1.6.0-rc0 and this is working. mailmap needs some
> > cleanup. Errors are still in the list, but this is a lot better than
> > it was. That made about 800 'contributors' disappear.
> >
> > Is there a way to do short log and have it map the names?
>
>
> Yes, as of v1.6.0-rc0~58 you can pass --pretty=format: to shortlog.
How do you do it with git log? --pretty overrides the default of medium
--pretty[=<format>]
Pretty-print the contents of the commit logs in a given format,
where <format> can be one of oneline, short, medium, full, fuller,
email, raw and format:<string>. When omitted, the format defaults to
medium.
Show 11 quoted lines
>
>
> > What about replacing the emails with their current email address?
>
>
> Nope, that was never meant to be done.
>
> Ciao,
> Dscho
>
>
--
Jon Smirl
jonsmirl@gmail.com