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

[PATCH] Documentation/git-send-email.txt: improve batching help

From
Stefan Beller <sbeller@google.com>
Date
Feb 6, 2018, 00:07 UTC
Message-ID
<20180206000743.217503-1-sbeller@google.com>

This clarifies that the relogin delay *must* be used in combination of `--batch-size` as there is no default for batch size, if the batch size is not given, we ignore the relogin delay argument. While at it, fix a typo in the batch size help.

Signed-off-by: Stefan Beller <sbeller@google.com>
---
 Documentation/git-send-email.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 8060ea35c5..887a38a608 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -250,7 +250,7 @@ must be used for each option.
 
 --batch-size=<num>::
 	Some email servers (e.g. smtp.163.com) limit the number emails to be
-	sent per session (connection) and this will lead to a faliure when
+	sent per session (connection) and this will lead to a failure when
 	sending many messages.  With this option, send-email will disconnect after
 	sending $<num> messages and wait for a few seconds (see --relogin-delay)
 	and reconnect, to work around such a limit.  You may want to
@@ -259,9 +259,9 @@ must be used for each option.
 	`sendemail.smtpBatchSize` configuration variable.
 
 --relogin-delay=<int>::
-	Waiting $<int> seconds before reconnecting to SMTP server. Used together
-	with --batch-size option.  Defaults to the `sendemail.smtpReloginDelay`
-	configuration variable.
+	Waiting $<int> seconds before reconnecting to SMTP server. Must be
+	used together with --batch-size option.  Defaults to the
+	`sendemail.smtpReloginDelay` configuration variable.
 
 Automating
 ~~~~~~~~~~
-- 
2.16.0.rc1.238.g530d649a79-goog
Message 1 of 1 in “Documentation/git-send-email.txt: improve batching help”
  1. Documentation/git-send-email.txt: improve batching helpStefan Beller, Feb 6, 2018

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.