@matheusbsbs / matheus-bagliano / commits / b895960516
Fork 0

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 <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Johannes Sixt committed Apr 18, 2011 at 08:31 UTC b895960516ef3edf66b5200019e2851e1a779053
1 file changed +14 -4
Documentation/git-format-patch.txt
+14 -4
@@ -357,11 +357,21 @@ By default, Thunderbird will both wrap emails as well as flag
357 them as being 'format=flowed', both of which will make the
358 resulting email unusable by git.
359
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
362 an external editor to keep Thunderbird from mangling the patches.
363
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)
375 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
376 Three steps:
377
@@ -388,7 +398,7 @@ After that is done, you should be able to compose email as you
398 otherwise would (cut + paste, 'git format-patch' | 'git imap-send', etc),
399 and the patches will not be mangled.
400
391 -Approach #2 (external editor)
401 +Approach #3 (external editor)
402 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
403
404 The following Thunderbird extensions are needed: