Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Newbie: git send-emailerror: fatal: 0001-hdf5-new-package.patch: 1277: patch contains a line longer than 998 characters
@ 2015-01-05  0:04 Williams
  2015-01-05  0:08 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Williams @ 2015-01-05  0:04 UTC (permalink / raw)
  To: buildroot

Hi ,

I would like to submit a patch but receive the following error:

[ernesto at localhost outgoing]$ git send-email --smtp-debug=1 --to buildroot at busybox.net --cc ernesto at slac.stanford.edu 0001-hdf5-new-package.patch
fatal: 0001-hdf5-new-package.patch: 1277: patch contains a line longer than 998 characters
warning: no patches were sent


Indeed, there is a line longer 998 characters.  This is due to some auto generated code.

Is there a way to get git send-email to ignore this and proceed?


Cheers,
Ernesto

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Newbie: git send-emailerror: fatal: 0001-hdf5-new-package.patch: 1277: patch contains a line longer than 998 characters
  2015-01-05  0:04 [Buildroot] Newbie: git send-emailerror: fatal: 0001-hdf5-new-package.patch: 1277: patch contains a line longer than 998 characters Williams
@ 2015-01-05  0:08 ` Yann E. MORIN
  2015-01-05  0:14   ` Williams
  0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2015-01-05  0:08 UTC (permalink / raw)
  To: buildroot

Ernesto, All,

On 2015-01-05 00:04 +0000, Williams Jr., Ernest L. spake thusly:
> I would like to submit a patch but receive the following error:
> 
> [ernesto at localhost outgoing]$ git send-email --smtp-debug=1 --to buildroot at busybox.net --cc ernesto at slac.stanford.edu 0001-hdf5-new-package.patch
> fatal: 0001-hdf5-new-package.patch: 1277: patch contains a line longer than 998 characters
> warning: no patches were sent
> 
> Indeed, there is a line longer 998 characters.  This is due to some auto generated code.
> 
> Is there a way to get git send-email to ignore this and proceed?

Just run:  git help send-email

       --[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.

;-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Newbie: git send-emailerror: fatal: 0001-hdf5-new-package.patch: 1277: patch contains a line longer than 998 characters
  2015-01-05  0:08 ` Yann E. MORIN
@ 2015-01-05  0:14   ` Williams
  0 siblings, 0 replies; 3+ messages in thread
From: Williams @ 2015-01-05  0:14 UTC (permalink / raw)
  To: buildroot

Hi,

________________________________________
From: Yann E. MORIN [yann.morin.1998 at gmail.com] on behalf of Yann E. MORIN [yann.morin.1998 at free.fr]
Sent: Sunday, January 4, 2015 4:08 PM
To: Williams Jr., Ernest L.
Cc: buildroot at busybox.net
Subject: Re: [Buildroot] Newbie: git send-emailerror: fatal: 0001-hdf5-new-package.patch: 1277: patch contains a line longer than 998 characters

Ernesto, All,

On 2015-01-05 00:04 +0000, Williams Jr., Ernest L. spake thusly:
> I would like to submit a patch but receive the following error:
>
> [ernesto at localhost outgoing]$ git send-email --smtp-debug=1 --to buildroot at busybox.net --cc ernesto at slac.stanford.edu 0001-hdf5-new-package.patch
> fatal: 0001-hdf5-new-package.patch: 1277: patch contains a line longer than 998 characters
> warning: no patches were sent
>
> Indeed, there is a line longer 998 characters.  This is due to some auto generated code.
>
> Is there a way to get git send-email to ignore this and proceed?

Just run:  git help send-email

       --[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.

;-)

Thanks, that worked. :)

git send-email --smtp-debug=1 --no-validate --to buildroot at busybox.net --cc ernesto at slac.stanford.edu 0001-hdf5-new-package.patch

Cheers,
Ernest



Regards,
Yann E. MORIN.

--
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-05  0:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-05  0:04 [Buildroot] Newbie: git send-emailerror: fatal: 0001-hdf5-new-package.patch: 1277: patch contains a line longer than 998 characters Williams
2015-01-05  0:08 ` Yann E. MORIN
2015-01-05  0:14   ` Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox