Skip to content

Commit 1a526d4

Browse files
jwhite66gitster
authored andcommitted
Update documentation to add further information about using Thunderbird with git-imap-send.
Signed-off-by: Jeremy White <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7fe5438 commit 1a526d4

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

Documentation/SubmittingPatches

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,9 +376,36 @@ Thunderbird
376376

377377
(A Large Angry SCM)
378378

379+
By default, Thunderbird will both wrap emails as well as flag them as
380+
being 'format=flowed', both of which will make the resulting email unusable
381+
by git.
382+
379383
Here are some hints on how to successfully submit patches inline using
380384
Thunderbird.
381385

386+
There are two different approaches. One approach is to configure
387+
Thunderbird to not mangle patches. The second approach is to use
388+
an external editor to keep Thunderbird from mangling the patches.
389+
390+
Approach #1 (configuration):
391+
392+
This recipe is current as of Thunderbird 2.0.0.19. Three steps:
393+
1. Configure your mail server composition as plain text
394+
Edit...Account Settings...Composition & Addressing,
395+
uncheck 'Compose Messages in HTML'.
396+
2. Configure your general composition window to not wrap
397+
Edit..Preferences..Composition, wrap plain text messages at 0
398+
3. Disable the use of format=flowed
399+
Edit..Preferences..Advanced..Config Editor. Search for:
400+
mailnews.send_plaintext_flowed
401+
toggle it to make sure it is set to 'false'.
402+
403+
After that is done, you should be able to compose email as you
404+
otherwise would (cut + paste, git-format-patch | git-imap-send, etc),
405+
and the patches should not be mangled.
406+
407+
Approach #2 (external editor):
408+
382409
This recipe appears to work with the current [*1*] Thunderbird from Suse.
383410

384411
The following Thunderbird extensions are needed:

Documentation/git-imap-send.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,20 @@ Using direct mode with SSL:
9898
..........................
9999

100100

101+
CAUTION
102+
-------
103+
It is still your responsibility to make sure that the email message
104+
sent by your email program meets the standards of your project.
105+
Many projects do not like patches to be attached. Some mail
106+
agents will transform patches (e.g. wrap lines, send them as
107+
format=flowed) in ways that make them fail. You will get angry
108+
flames ridiculing you if you don't check this.
109+
110+
Thunderbird in particular is known to be problematic. Thunderbird
111+
users may wish to visit this web page for more information:
112+
http://kb.mozillazine.org/Plain_text_e-mail_-_Thunderbird#Completely_plain_email
113+
114+
101115
BUGS
102116
----
103117
Doesn't handle lines starting with "From " in the message body.

0 commit comments

Comments
 (0)