From: Teemu Likonen <tlikonen@iki.fi>
To: "Andy Shevchenko" <andy.shevchenko@gmail.com>
Cc: Arafangion <thestar@fussycoder.id.au>, git@vger.kernel.org
Subject: Re: [PATCH] git-send-email: provide hook to send lines more than 998 symbols
Date: Fri, 21 Nov 2008 12:52:33 +0200 [thread overview]
Message-ID: <87wsex4aha.fsf@iki.fi> (raw)
In-Reply-To: <5ec8ebd50811210237kd6f9341q23bc69b6ffcc2a87@mail.gmail.com> (Andy Shevchenko's message of "Fri\, 21 Nov 2008 12\:37\:08 +0200")
Andy Shevchenko (2008-11-21 12:37 +0200) wrote:
> On Fri, Nov 21, 2008 at 12:34 PM, Arafangion <thestar@fussycoder.id.au> wrote:
>>> By default git-send-email does not accept patch which is contain
>>> lines longer than 998 symbols. Sometime it's inconvenient, i.e. you
>>> have a long list in one variable in shell script. So, define
>>> environment variable GIT_SEND_EMAIL_LONGLINE to something to avoid
>>> that restriction.
>>
>> As a curiosity, why is such a check even neccessary?
> I'm not an author of that strange check (possible it's somehow related
> to b8ebe08b9a643f432866eb7150c3b20d59b755f2)
The author (so to say) of that strange check is RFC 2822 - Internet
Message Format.
2.1.1. Line Length Limits
There are two limits that this standard places on the number of
characters in a line. Each line of characters MUST be no more
than 998 characters, and SHOULD be no more than 78 characters,
excluding the CRLF.
The 998 character limit is due to limitations in many
implementations which send, receive, or store Internet Message
Format messages that simply cannot handle more than 998
characters on a line. [...]
http://www.faqs.org/rfcs/rfc2822.html
Perhaps longer lines will work in many cases but atleast warning should
be printed to user, or something.
next prev parent reply other threads:[~2008-11-21 10:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-21 9:59 [PATCH] git-send-email: provide hook to send lines more than 998 symbols Andy Shevchenko
2008-11-21 10:34 ` Arafangion
2008-11-21 10:37 ` Andy Shevchenko
2008-11-21 10:52 ` Teemu Likonen [this message]
2008-11-21 10:55 ` Andy Shevchenko
2008-11-21 11:09 ` Arafangion
2008-11-21 11:46 ` Andreas Ericsson
2008-11-21 12:04 ` Jeff King
2008-11-21 11:58 ` Jeff King
2008-11-21 12:49 ` Michael J Gruber
2008-11-21 13:29 ` Andy Shevchenko
2008-11-21 14:08 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wsex4aha.fsf@iki.fi \
--to=tlikonen@iki.fi \
--cc=andy.shevchenko@gmail.com \
--cc=git@vger.kernel.org \
--cc=thestar@fussycoder.id.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.