summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorLibravatar Jan H. Schönherr <schnhrr@cs.tu-berlin.de>2012-10-18 16:43:29 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-10-18 14:23:12 -0700
commit7a76e68a177720da65e7d9cfa49d702a55e2d9de (patch)
treee8d03be40b9710b0887c4836fea465c56b30d7f8 /setup.c
parentutf8: fix off-by-one wrapping of text (diff)
downloadtgif-7a76e68a177720da65e7d9cfa49d702a55e2d9de.tar.xz
format-patch: do not wrap non-rfc2047 headers too early
Do not wrap the second and later lines of non-rfc2047-encoded headers substantially before the 78 character limit. Instead of passing the remaining length of the first line as wrapping width, use the correct maximum length and tell strbuf_add_wrapped_bytes() how many characters of the first line are already used. Signed-off-by: Jan H. Schönherr <schnhrr@cs.tu-berlin.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'setup.c')
0 files changed, 0 insertions, 0 deletions