Skip to content

Commit 587e69b

Browse files
phil-blaingitster
authored andcommitted
git-imap-send.txt: don't duplicate 'Examples' sections
Remove the 'Examples' subsection in the 'Configuration' section and move these examples to the 'Examples' section. Also remove the 'Variables' title since it is now useless. Also, use appropriate Asciidoc syntax for configuration values, and capitalize 'Gmail' properly. Suggested-by: Junio C Hamano <[email protected]> Signed-off-by: Philippe Blain <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d9cd433 commit 587e69b

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

Documentation/git-imap-send.txt

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,13 @@ OPTIONS
5151
CONFIGURATION
5252
-------------
5353

54-
To use the tool, imap.folder and either imap.tunnel or imap.host must be set
54+
To use the tool, `imap.folder` and either `imap.tunnel` or `imap.host` must be set
5555
to appropriate values.
5656

57-
Variables
58-
~~~~~~~~~
59-
6057
include::config/imap.txt[]
6158

62-
Examples
63-
~~~~~~~~
64-
59+
EXAMPLES
60+
--------
6561
Using tunnel mode:
6662

6763
..........................
@@ -93,10 +89,7 @@ Using direct mode with SSL:
9389
.........................
9490

9591

96-
EXAMPLES
97-
--------
98-
To submit patches using GMail's IMAP interface, first, edit your ~/.gitconfig
99-
to specify your account settings:
92+
Using Gmail's IMAP interface:
10093

10194
---------
10295
[imap]
@@ -107,14 +100,14 @@ to specify your account settings:
107100
sslverify = false
108101
---------
109102

110-
You might need to instead use: folder = "[Google Mail]/Drafts" if you get an error
103+
You might need to instead use: `folder = "[Google Mail]/Drafts"` if you get an error
111104
that the "Folder doesn't exist".
112105

113106
Once the commits are ready to be sent, run the following command:
114107

115108
$ git format-patch --cover-letter -M --stdout origin/master | git imap-send
116109

117-
Just make sure to disable line wrapping in the email client (GMail's web
110+
Just make sure to disable line wrapping in the email client (Gmail's web
118111
interface will wrap lines no matter what, so you need to use a real
119112
IMAP client).
120113

0 commit comments

Comments
 (0)