Skip to content

Commit b895960

Browse files
j6tgitster
authored andcommitted
Documentation/format-patch: suggest Toggle Word Wrap add-on for Thunderbird
Of the (now) three methods to send unmangled patches using Thunderbird, this method is listed first because it provides a single-click on-demand option rather than a permanent change of configuration like the other two methods. Signed-off-by: Johannes Sixt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 36c10e6 commit b895960

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

Documentation/git-format-patch.txt

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -357,11 +357,21 @@ By default, Thunderbird will both wrap emails as well as flag
357357
them as being 'format=flowed', both of which will make the
358358
resulting email unusable by git.
359359

360-
There are two different approaches. One approach is to configure
361-
Thunderbird to not mangle patches. The second approach is to use
360+
There are three different approaches: use an add-on to turn off line wraps,
361+
configure Thunderbird to not mangle patches, or use
362362
an external editor to keep Thunderbird from mangling the patches.
363363

364-
Approach #1 (configuration)
364+
Approach #1 (add-on)
365+
^^^^^^^^^^^^^^^^^^^^
366+
367+
Install the Toggle Word Wrap add-on that is available from
368+
https://addons.mozilla.org/thunderbird/addon/toggle-word-wrap/
369+
It adds a menu entry "Enable Word Wrap" in the composer's "Options" menu
370+
that you can tick off. Now you can compose the message as you otherwise do
371+
(cut + paste, 'git format-patch' | 'git imap-send', etc), but you have to
372+
insert line breaks manually in any text that you type.
373+
374+
Approach #2 (configuration)
365375
^^^^^^^^^^^^^^^^^^^^^^^^^^^
366376
Three steps:
367377

@@ -388,7 +398,7 @@ After that is done, you should be able to compose email as you
388398
otherwise would (cut + paste, 'git format-patch' | 'git imap-send', etc),
389399
and the patches will not be mangled.
390400

391-
Approach #2 (external editor)
401+
Approach #3 (external editor)
392402
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
393403

394404
The following Thunderbird extensions are needed:

0 commit comments

Comments
 (0)