format-patch: rfc2047-encode newlines in headers
authorJeff King <peff@peff.net>
Wed, 23 Feb 2011 09:59:18 +0000 (04:59 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 24 Feb 2011 00:09:33 +0000 (16:09 -0800)
commitc22e7de340df2e0ebc0e98347aa02a32a459835f
treeb98a81273f1bf5653b3e1cfd5ef7aff5c5f9b680
parenta1f6baa5c97abc8b579fa7ac7c4dc21971bdc048
format-patch: rfc2047-encode newlines in headers

These should generally never happen, as we already
concatenate multiples in subjects into a single line. But
let's be defensive, since not encoding them means we will
output malformed headers.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pretty.c