Re: [PATCH] Add SubmittingPatches

4 messages, 4 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] Add SubmittingPatches

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:04

Johannes Schindelin [off-list ref] writes:
Maybe we should enhance git-applymbox to detect whitespace corruption in 
particular, and output the User-Agent header (or if that does not 
exist, the Message-ID header; thanks, pine) on error.
We _could_ but I doubt it would help anybody.  The damage is
already done.

Re: [PATCH] Add SubmittingPatches

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:04

Hi,

On Mon, 15 Aug 2005, Junio C Hamano wrote:
Johannes Schindelin [off-list ref] writes:
quoted
Maybe we should enhance git-applymbox to detect whitespace corruption in 
particular, and output the User-Agent header (or if that does not 
exist, the Message-ID header; thanks, pine) on error.
Alternatively, SubmittingPatches could include a big fat CAVEAT, and a 
note that the submitter might want to send a single SP to herself, save 
the received mail and check that all is well, prior to sending the first 
patch. I mean, well, erm, it is sort of, uh, annoying, to send out a 
corrupt patch *speaksofyourstruly*.

Ciao,
Dscho

Re: [PATCH] Add SubmittingPatches

From: Ryan Anderson <hidden>
Date: 2016-06-15 22:42:04

On Tue, Aug 16, 2005 at 03:41:04AM +0200, Johannes Schindelin wrote:
On Mon, 15 Aug 2005, Junio C Hamano wrote:
quoted
Johannes Schindelin [off-list ref] writes:
quoted
Maybe we should enhance git-applymbox to detect whitespace corruption in 
particular, and output the User-Agent header (or if that does not 
exist, the Message-ID header; thanks, pine) on error.
Alternatively, SubmittingPatches could include a big fat CAVEAT, and a 
note that the submitter might want to send a single SP to herself, save 
the received mail and check that all is well, prior to sending the first 
patch. I mean, well, erm, it is sort of, uh, annoying, to send out a 
corrupt patch *speaksofyourstruly*.
If you have some trouble sending them out, you can use
	git format-patch --mbox
and
	git send-email

which seems to consistently do the right thing.


-- 

Ryan Anderson
  sometimes Pug Majere

Submitting patches w/ Thunderbird [was: Re: [PATCH] Add SubmittingPatches]

From: A Large Angry SCM <hidden>
Date: 2016-06-15 22:42:04

Johannes Schindelin wrote:
Hi,

On Mon, 15 Aug 2005, Junio C Hamano wrote:
quoted
Johannes Schindelin [off-list ref] writes:
quoted
Maybe we should enhance git-applymbox to detect whitespace corruption in 
particular, and output the User-Agent header (or if that does not 
exist, the Message-ID header; thanks, pine) on error.
Alternatively, SubmittingPatches could include a big fat CAVEAT, and a 
note that the submitter might want to send a single SP to herself, save 
the received mail and check that all is well, prior to sending the first 
patch. I mean, well, erm, it is sort of, uh, annoying, to send out a 
corrupt patch *speaksofyourstruly*.
Here are some hints on how to successfully submit patches inline using
Thunderbird.

This recipe appears to work with the current [*1*] Thunderbird from Suse.

The following Thunderbird extensions are needed:
	AboutConfig 0.5
		http://aboutconfig.mozdev.org/
	External Editor 0.5.4
		http://extensionroom.mozdev.org/more-info/exteditor

1) Prepare the patch as a text file using your method of choice.

2) Before opening a compose window, use Edit->Account Settings to
uncheck the "Compose messages in HTML format" setting in the
"Composition & Addressing" panel of the account to be used to send the
patch. [*2*]

3) In the main Thunderbird window, _before_ you open the compose window
for the patch, use Tools->about:config to set the following to the
indicated values:
	mailnews.send_plaintext_flowed	=> false
	mailnews.wraplength		=> 999

4) Open a compose window and click the external editor icon.

5) In the external editor window, read in the patch file and exit the
editor normally.

6) Back in the compose window: Add whatever other text you wish to the
message, complete the addressing and subject fields, and press send.

7) Optionally, undo the about:config/account settings changes made in
steps 2 & 3.


[Footnotes]
*1* Version 1.0 (20041207) from the MozillaThunderbird-1.0-5 rpm of Suse
9.3 professional updates.

*2* It may be possible to do this with about:config and the following
settings but I haven't tried, yet.
	mail.html_compose			=> false
	mail.identity.default.compose_html	=> false
	mail.identity.id?.compose_html		=> false
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help