@matheusbsbs / matheus-bagliano / commits / 587e69b573
Fork 0

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 <gitster@pobox.com> Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Philippe Blain committed Aug 30, 2020 at 22:01 UTC 587e69b57383c03e35aecc365812d68798ef0ae7
1 file changed +6 -13
Documentation/git-imap-send.txt
+6 -13
@@ -51,17 +51,13 @@ OPTIONS
51 CONFIGURATION
52 -------------
53
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
55 to appropriate values.
56
57 -Variables
58 -~~~~~~~~~
59 -
57 include::config/imap.txt[]
58
62 -Examples
63 -~~~~~~~~
64 -
59 +EXAMPLES
60 +--------
61 Using tunnel mode:
62
63 ..........................
@@ -93,10 +89,7 @@ Using direct mode with SSL:
89 .........................
90
91
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:
93
94 ---------
95 [imap]
@@ -107,14 +100,14 @@ to specify your account settings:
100 sslverify = false
101 ---------
102
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
104 that the "Folder doesn't exist".
105
106 Once the commits are ready to be sent, run the following command:
107
108 $ git format-patch --cover-letter -M --stdout origin/master | git imap-send
109
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
111 interface will wrap lines no matter what, so you need to use a real
112 IMAP client).
113