diff options
author | Jeff King <peff@peff.net> | 2011-02-23 04:58:41 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-02-23 13:46:33 -0800 |
commit | a1f6baa5c97abc8b579fa7ac7c4dc21971bdc048 (patch) | |
tree | d5deba6b602e562ffcd2e039b86d485a6cffb79f /Documentation/RelNotes/1.7.2.3.txt | |
parent | strbuf: add fixed-length version of add_wrapped_text (diff) | |
download | tgif-a1f6baa5c97abc8b579fa7ac7c4dc21971bdc048.tar.xz |
format-patch: wrap long header lines
Subject and identity headers may be arbitrarily long. In the
past, we just assumed that single-line headers would be
reasonably short. For multi-line subjects that we squish
into a single line, we just "pre-folded" the data in
pp_title_line by adding a newline and indentation.
There were two problems. One is that, although rare,
single-line messages can actually be longer than the
recommended line-length limits. The second is that the
pre-folding interacted badly with rfc2047 encoding, leading
to malformed headers.
Instead, let's stop pre-folding the subject lines, and just
fold everything based on length in add_rfc2047, whether
it is encoded or not.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.7.2.3.txt')
0 files changed, 0 insertions, 0 deletions