summaryrefslogtreecommitdiff
path: root/transport-helper.c
diff options
context:
space:
mode:
authorLibravatar Jan H. Schönherr <schnhrr@cs.tu-berlin.de>2012-10-18 16:43:30 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-10-18 14:23:19 -0700
commit94f6cdf693c10eaec5a7fcc4f0b5cb1e0ea80f1b (patch)
tree835c1bf320e6fff66f48e66318ece2c9a1813950 /transport-helper.c
parentformat-patch: do not wrap non-rfc2047 headers too early (diff)
downloadtgif-94f6cdf693c10eaec5a7fcc4f0b5cb1e0ea80f1b.tar.xz
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>
Diffstat (limited to 'transport-helper.c')
0 files changed, 0 insertions, 0 deletions