git-send-email: fix missing space in error message
PATCH 1/1 git-send-email: fix missing space in error message
--- git-send-email.perl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
git-send-email.perl +1 -1
@@ -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 (defined $smtp_authuser) {
Signature · 1 line
1.7.5
Quoted 1 line · Sylvain Rabot
Signed-off-by Sylvain Rabot <[email protected]>
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.
Quoted 9 lines
--- git-send-email.perl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)git-send-email.perl +0
-0
git-send-email.perl X-Mailer: git-send-email $gitversion · line 1094
Quoted 5 lines
git-send-email.perl +1
-1@@ -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.
Quoted 4 lines · Junio C Hamano
Quoted 1 line · Sylvain Rabot
Signed-off-by Sylvain Rabot <[email protected]>
Quoted 8 lines
Please keep in mind that these individual commits will eventually need an entry added to
Documentation/Relnotes/1.7.5.1.txtwhere 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.
Will queue this; thanks.
Author: Sylvain Rabot <[email protected]> Date: Fri Apr 29 20:23:24 2011 +0200
git-send-email: fix missing space in error message
When the command cannot make a connection to the SMTP server the error message to diagnose the broken configuration is issued. However, when an optional smtp-server-port is given and needs to be reported, the message lacked a space between "hello=<smtp-domain>" and "port=<smtp-server-port>".
Sorry about that. Was thinking this was not worth an entry in the release note.
Quoted 39 lines · Junio C Hamano
Quoted 1 line · Sylvain Rabot
Signed-off-by Sylvain Rabot <[email protected]>Please keep in mind that these individual commits will eventually need an entry added to
Documentation/Relnotes/1.7.5.1.txtwhere 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.
Quoted 9 lines
--- git-send-email.perl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)git-send-email.perl +0
-0git-send-email.perl X-Mailer: git-send-email $gitversion · line 1094
Quoted 5 lines
git-send-email.perl +1
-1@@ -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.