Skip to content

Commit 6e5f930

Browse files
committed
Merge branch 'pb/imap-send-updates'
"git imap-send" updates. * pb/imap-send-updates: git-imap-send.txt: add note about localized Gmail folders git-imap-send.txt: do verify SSL certificate for gmail.com git-imap-send.txt: don't duplicate 'Examples' sections
2 parents c25fba9 + 1bbac2a commit 6e5f930

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

Documentation/git-imap-send.txt

Lines changed: 19 additions & 15 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
..........................
@@ -89,32 +85,40 @@ Using direct mode with SSL:
8985
user = bob
9086
pass = p4ssw0rd
9187
port = 123
92-
sslverify = false
88+
; sslVerify = false
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+
[NOTE]
93+
You may want to use `sslVerify=false`
94+
while troubleshooting, if you suspect that the reason you are
95+
having trouble connecting is because the certificate you use at
96+
the private server `example.com` you are trying to set up (or
97+
have set up) may not be verified correctly.
98+
99+
Using Gmail's IMAP interface:
100100

101101
---------
102102
[imap]
103103
folder = "[Gmail]/Drafts"
104104
host = imaps://imap.gmail.com
105105
106106
port = 993
107-
sslverify = false
108107
---------
109108

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

113+
[NOTE]
114+
If your Gmail account is set to another language than English, the name of the "Drafts"
115+
folder will be localized.
116+
113117
Once the commits are ready to be sent, run the following command:
114118

115119
$ git format-patch --cover-letter -M --stdout origin/master | git imap-send
116120

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

0 commit comments

Comments
 (0)