Re: [PATCH 3/3] format-patch: rfc2047-encode newlines in headers
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 23, 2011, 21:47 UTC
- Message-ID
- <7vhbbu7792.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20110223095917.GC9222@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> 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.
In this particular case, wouldn't it be more conservative and defensive to produce malformed headers so that the patch won't leave the originator? I have a suspicion that mailinfo would choke on the output of this one, even though I didn't try.