author | Kirill Smelkov <kirr@landau.phys.spbu.ru> | |
Sun, 1 Feb 2009 17:45:05 +0000 (20:45 +0300) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 1 Feb 2009 20:11:15 +0000 (12:11 -0800) | ||
commit | 08e6710f76165f79cfa3cde9b10bb051fb0d0dc9 | |
tree | 836b76d3c69abe0f662a7024e213fe7369e81fa2 | tree | snapshot |
parent | c0f6f67b3d6c8afb89847b6b7bc187d7bed260eb | commit | diff |
mailinfo: cleanup extra spaces for complex 'From:'
currently for cases like
From: A U Thor <a.u.thor@example.com> (Comment)
mailinfo extracts the following 'Author:' field:
Author: A U Thor (Comment)
^^
which has two extra spaces left in there after removed email part.
I think this is wrong so here is a fix.
Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
currently for cases like
From: A U Thor <a.u.thor@example.com> (Comment)
mailinfo extracts the following 'Author:' field:
Author: A U Thor (Comment)
^^
which has two extra spaces left in there after removed email part.
I think this is wrong so here is a fix.
Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-mailinfo.c | diff | blob | history | |
t/t5100/info0001 | diff | blob | history | |
t/t5100/rfc2047-info-0004 | diff | blob | history | |
t/t5100/sample.mbox | diff | blob | history |