From: Sylvain Rabot <sylvain@abstraction.fr>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] git-send-email: fix missing space in error message
Date: Sat, 30 Apr 2011 09:52:39 +0200 [thread overview]
Message-ID: <1304149959.1850.4.camel@kheops> (raw)
In-Reply-To: <7vmxj8x5yj.fsf@alter.siamese.dyndns.org>
[-- Attachment #1: Type: text/plain, Size: 1662 bytes --]
Sorry about that. Was thinking this was not worth an entry in
the release note.
On Fri, 2011-04-29 at 11:33 -0700, Junio C Hamano wrote:
> Sylvain Rabot <sylvain@abstraction.fr> writes:
>
> > Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
>
> Please keep in mind that these individual commits will eventually need an
> entry added to Documentation/Relnotes/1.7.5.1.txt where I describe what
> bug was fixed in a single paragraph, and it almost always talks about how
> a bug would have been triggered so that the readers can tell if the fix
> would benefit them.
>
> It would have been perfect if you wrote under what condition the user
> would see this error message in the body of the commit.
>
> > ---
> > git-send-email.perl | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/git-send-email.perl b/git-send-email.perl
> > index 76565de..98ab33a 100755
> > --- a/git-send-email.perl
> > +++ b/git-send-email.perl
> > @@ -1091,7 +1091,7 @@ X-Mailer: git-send-email $gitversion
> > "VALUES: server=$smtp_server ",
> > "encryption=$smtp_encryption ",
> > "hello=$smtp_domain",
> > - defined $smtp_server_port ? "port=$smtp_server_port" : "";
> > + defined $smtp_server_port ? " port=$smtp_server_port" : "";
>
> If I were writing this from scratch, I probably would have written it
> by having leading SP for all options, perhaps like this:
>
> "VALUES:",
> " option=value",
> " option=value",
> (showoption) ? " option=value" : "",
> (showoption) ? " option=value" : "",
> ...
>
> Thanks.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
prev parent reply other threads:[~2011-04-30 7:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-29 18:23 [PATCH] git-send-email: fix missing space in error message Sylvain Rabot
2011-04-29 18:33 ` Junio C Hamano
2011-04-29 18:37 ` Junio C Hamano
2011-04-30 7:52 ` Sylvain Rabot [this message]
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=1304149959.1850.4.camel@kheops \
--to=sylvain@abstraction.fr \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.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).