git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 3/4] Doc/git-send-email.txt: clarify a couple of options

From
Aastian <astian@eclipso.at>
Date
Jul 8, 2017, 20:34 UTC
Message-ID
<20170708203413.16442-4-astian@eclipso.at>
In-Reply-To
<20170708203413.16442-1-astian@eclipso.at>
Clarify the meaning of --smtp-encryption and --smtp-server-option.
Signed-off-by: astian <astian@eclipso.at>
---
 Documentation/git-send-email.txt | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index bac9014ac..158b51045 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -161,7 +161,8 @@ Sending
 	unspecified, choosing the envelope sender is left to your MTA.
 
 --smtp-encryption=<encryption>::
-	Specify the encryption to use, either 'ssl' or 'tls'.  Any other
+	Specify the encryption to use, either 'ssl' (direct TLS) or
+	'tls' (plain text upgraded to TLS via STARTTLS).  Any other
 	value reverts to plain SMTP.  Default is the value of
 	`sendemail.smtpEncryption`.
 
@@ -216,13 +217,15 @@ a password is obtained using 'git-credential'.
 	`sendemail.smtpServerPort` configuration variable.
 
 --smtp-server-option=<option>::
-	If set, specifies the outgoing SMTP server option to use.
+	Specifies a command line option to pass to the local sendmail-like
+	binary.  Only useful when `--smtp-server` (or `sendemail.smtpServer`)
+	points to a local absolute path corresponding to the program binary.
 	Default value can be specified by the `sendemail.smtpServerOption`
-	configuration option.
+	configuration variable.
 +
-The --smtp-server-option option must be repeated for each option you want
-to pass to the server. Likewise, different lines in the configuration files
-must be used for each option.
+This option must be used once for each command line argument you want to pass
+to the program.  Correspondingly, the configuration variable is multivalued:
+set it, in order, once per command line argument.
 
 --smtp-ssl::
 	Legacy alias for '--smtp-encryption ssl'.
-- 
2.13.2
Previous: astianNext: astian
Message 8 of 10 in “Misc. documentation fixes”
  1. 0/4 Misc. documentation fixesastian, Jul 8, 2017
  2. 1/4 Doc/config.txt: explain repeated sectionsastian, Jul 8, 2017
  3. Junio C HamanoJul 8, 2017
  4. Junio C HamanoJul 9, 2017
  5. Jeff KingJul 10, 2017
  6. Junio C HamanoJul 10, 2017
  7. 2/4 Doc/config.txt: fix typosastian, Jul 8, 2017
  8. 3/4 Doc/git-send-email.txt: clarify a couple of optionsastian, Jul 8, 2017
  9. 4/4 Doc/config.txt: fix documentation for smtpEncryptionastian, Jul 8, 2017
  10. Junio C HamanoJul 8, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.