Re: [PATCH] git-send-email: provide hook to send lines more than 998 symbols
- From
Michael J Gruber <git@drmicha.warpmail.net>
- Date
- Nov 21, 2008, 12:49 UTC
- Message-ID
- <4926AE4E.5000604@drmicha.warpmail.net>
- In-Reply-To
- <20081121115813.GB3747@sigill.intra.peff.net>
Jeff King venit, vidit, dixit 21.11.2008 12:58:
Show 10 quoted lines
> On Fri, Nov 21, 2008 at 11:59:24AM +0200, Andy Shevchenko 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. > > This already exists as "git send-email --no-validate", which > unfortunately doesn't seem to be documented. Care to send in a > documentation patch instead?
In fact it is documented in git-send-email.txt:
--[no-]validate::
Perform sanity checks on patches.
Currently, validation means the following:
+
--
* Warn of patches that contain lines longer than
998 characters; this
is due to SMTP limits as described by
http://www.ietf.org/rfc/rfc2821.txt.
--
+
Default is the value of 'sendemail.validate'; if this is not set,
default to '--validate'.Cheers, Michael