author | Junio C Hamano <junio@twinsun.com> | |
Sat, 23 Jul 2005 09:10:31 +0000 (02:10 -0700) | ||
committer | Linus Torvalds <torvalds@g5.osdl.org> | |
Sat, 23 Jul 2005 18:13:11 +0000 (11:13 -0700) | ||
commit | 1d8fa411e04130e175eae7a41e0918e4be7797a5 | |
tree | 6174a5a5952aa2d3cb5fbd046ee26805db8e7be1 | tree | snapshot |
parent | ce6f8e7ec2bbebe2472e23b684cae0a4adf325ad | commit | diff |
[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>
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 | diff | blob | history |