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

Re: [PATCH] send-email: document the --smtp-debug option

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 27, 2012, 20:19 UTC
Message-ID
<7v8vjo6nck.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1330359773-16759-1-git-send-email-zbyszek@in.waw.pl>
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> writes:
Show 9 quoted lines
> The option was already shown in -h output, so it should be documented
> in the man page.
>
> Signed-off-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
> Suggested-by: David A. Greene <greened@obbligato.org>
> ---
> David Greene wrote:
>> I don't think --smtp-debug is documented in the man pages.  Was that a
>> deliberate decision or an oversight?

Probably halfway in between "Meh"; anybody who is willing to look into the issue will notice when he opens the script and reads it for the first time anyway, so why bother.

But now "A patch already exists, and it does not seem to have any funny letters that may screw up asciidoc, so why bother rejecting" ;-)

Will apply; thanks.
Show 18 quoted lines
>  Documentation/git-send-email.txt |    4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
> index 327233c..3241170 100644
> --- a/Documentation/git-send-email.txt
> +++ b/Documentation/git-send-email.txt
> @@ -198,6 +198,10 @@ must be used for each option.
>  	if a username is not specified (with '--smtp-user' or 'sendemail.smtpuser'),
>  	then authentication is not attempted.
>  
> +--smtp-debug=0|1::
> +	Enable (1) or disable (0) debug output. If enabled, SMTP
> +	commands and replies will be printed. Useful to debug TLS
> +	connection and authentication problems.
>  
>  Automating
>  ~~~~~~~~~~
Previous: Zbigniew Jędrzejewski-Szmek
Message 2 of 2 in “send-email: document the --smtp-debug option”
  1. send-email: document the --smtp-debug optionZbigniew Jędrzejewski-Szmek, Feb 27, 2012
  2. Junio C HamanoFeb 27, 2012

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.