git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Jeff KingNext: Andy Shevchenko
Message 10 of 12 in “git-send-email: provide hook to send lines more than 998 symbols”
  1. git-send-email: provide hook to send lines more than 998 symbolsAndy Shevchenko, Nov 21, 2008
  2. ArafangionNov 21, 2008
  3. Andy ShevchenkoNov 21, 2008
  4. Teemu LikonenNov 21, 2008
  5. Andy ShevchenkoNov 21, 2008
  6. ArafangionNov 21, 2008
  7. Andreas EricssonNov 21, 2008
  8. Jeff KingNov 21, 2008
  9. Jeff KingNov 21, 2008
  10. Michael J GruberNov 21, 2008
  11. Andy ShevchenkoNov 21, 2008
  12. Jeff KingNov 21, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.