log: grep author/committer using mailmap
commitd72fbe8111fbd3083d7063078c96eed27098490c
authorAntoine Pelisse <apelisse@gmail.com>
Sat, 5 Jan 2013 21:26:45 +0000 (5 22:26 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 10 Jan 2013 20:33:08 +0000 (10 12:33 -0800)
tree828ba8b9c30c7abd98d4a05504c30690ffe414d5
parentd20743433e5889319a82c26beb5789e708c450a2
log: grep author/committer using mailmap

Currently you can use mailmap to display log authors and committers
but you can't use the mailmap to find commits with mapped values.

This commit allows you to run:

    git log --use-mailmap --author mapped_name_or_email
    git log --use-mailmap --committer mapped_name_or_email

Of course it only works if the --use-mailmap option is used.

The new name and email are copied only when necessary.

Signed-off-by: Antoine Pelisse <apelisse@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
revision.c
t/t4203-mailmap.sh