Code

[PATCH] mailinfo: handle folded header.
authorJunio C Hamano <junio@twinsun.com>
Sat, 23 Jul 2005 09:10:31 +0000 (02:10 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 23 Jul 2005 18:13:11 +0000 (11:13 -0700)
commit1d8fa411e04130e175eae7a41e0918e4be7797a5
tree6174a5a5952aa2d3cb5fbd046ee26805db8e7be1
parentce6f8e7ec2bbebe2472e23b684cae0a4adf325ad
[PATCH] mailinfo: handle folded header.

Some people split their long E-mail address over two lines
using the RFC2822 header "folding".  We can lose authorship
information this way, so make a minimum effort to deal with it,
instead of special casing only the "Subject:" field.

We could teach mailsplit to unfold the folded header, but
teaching mailinfo about folding would make more sense; a single
message can be fed to mailinfo without going through mailsplit.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
tools/mailinfo.c