commit | 94f6cdf693c10eaec5a7fcc4f0b5cb1e0ea80f1b | [log] [tgz] |
---|---|---|
author | Jan H. Schönherr <schnhrr@cs.tu-berlin.de> | Thu Oct 18 16:43:30 2012 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Thu Oct 18 14:23:19 2012 -0700 |
tree | 835c1bf320e6fff66f48e66318ece2c9a1813950 | |
parent | 7a76e68a177720da65e7d9cfa49d702a55e2d9de [diff] |
format-patch: do not wrap rfc2047 encoded headers too late Encoded characters add more than one character at once to an encoded header. Include all characters that are about to be added in the length calculation for wrapping. Additionally, RFC 2047 imposes a maximum line length of 76 characters if that line contains an rfc2047 encoded word. Signed-off-by: Jan H. Schönherr <schnhrr@cs.tu-berlin.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>