From: Thomas Gummerer <t.gummerer@gmail.com>
To: Alexander Kuleshov <kuleshovmail@gmail.com>,
Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org, 0xAX <kuleshovmail@gmail.com>
Subject: Re: [PATCH] send-email: Much readable error output
Date: Sat, 27 Dec 2014 00:38:17 +0100 [thread overview]
Message-ID: <87k31e56dy.fsf@gmail.com> (raw)
In-Reply-To: <1419595599-19974-1-git-send-email-kuleshovmail@gmail.com>
Hi,
Alexander Kuleshov <kuleshovmail@gmail.com> writes:
> Signed-off-by: 0xAX <kuleshovmail@gmail.com>
Please use your full name for the sign-off.
> ---
> git-send-email.perl | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/git-send-email.perl b/git-send-email.perl
> index 82c6fea..6a995c4 100755
> --- a/git-send-email.perl
> +++ b/git-send-email.perl
> @@ -1274,11 +1274,11 @@ X-Mailer: git-send-email $gitversion
> }
>
> if (!$smtp) {
> - die "Unable to initialize SMTP properly. Check config and use --smtp-debug. ",
> - "VALUES: server=$smtp_server ",
> - "encryption=$smtp_encryption ",
> - "hello=$smtp_domain",
> - defined $smtp_server_port ? " port=$smtp_server_port" : "";
> + die "Unable to initialize SMTP properly. Check config and use --smtp-debug.\n",
> + "VALUES: server=$smtp_server\n\t",
> + "encryption=$smtp_encryption\n\t",
> + "hello=$smtp_domain\n\t",
> + defined $smtp_server_port ? "port=$smtp_server_port\n" : "\n";
Minor nits:
- I think this would be easier to read if the \t was on the line which
should be indented.
- If $smtp_server_port is not defined we produce an unnecessary empty line
> }
>
> smtp_auth_maybe or die $smtp->message;
> --
> 2.2.1.202.g98acd41
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-12-26 23:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-26 12:06 [PATCH] send-email: Much readable error output Alexander Kuleshov
2014-12-26 23:38 ` Thomas Gummerer [this message]
2014-12-27 11:09 ` [PATCH v2] " Alexander Kuleshov
2014-12-28 8:56 ` Eric Sunshine
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k31e56dy.fsf@gmail.com \
--to=t.gummerer@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=kuleshovmail@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).