get_maintainers.pl: improve .mailmap parsing
authorJoe Perches <joe@perches.com>
Tue, 26 Jul 2011 00:13:13 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 03:57:15 +0000 (20:57 -0700)
commit0334b3824e671c28737074ca9fb0723ef05d9b9e
tree77733610795851bc0914aa634e30905dcac88cca
parent626a0312514a121a90b4478cbde111ffc6826ae2
get_maintainers.pl: improve .mailmap parsing

Entries that used formats other than "Proper Name <commit@email.xx>"
were not parsed properly.

Try to improve the parsing so that the entries in the forms of:
    Proper Name <proper@email.xx> <commit@email.xx>
and
    Proper Name <proper@email.xx> Commit Name <commit@email.xx>
are transformed correctly.

Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Florian Mickler <florian@mickler.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/get_maintainer.pl