Use split_ident_line to parse author and committer
authorAntoine Pelisse <apelisse@gmail.com>
Sat, 5 Jan 2013 21:26:38 +0000 (22:26 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jan 2013 23:59:32 +0000 (15:59 -0800)
commit3c020bd528d5dc320b82bd787670edfe6695f097
tree56ee96e5ded23f7274a0ec5e8a8717539f934b42
parent8dd5afc926acb9829ebf56e9b78826a5242cd638
Use split_ident_line to parse author and committer

Currently blame.c::get_acline(), pretty.c::pp_user_info() and
shortlog.c::insert_one_record() are parsing author name, email, time
and tz themselves.

Use ident.c::split_ident_line() for better code reuse.

Signed-off-by: Antoine Pelisse <apelisse@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/blame.c
builtin/shortlog.c
pretty.c