From: Timur Tabi <timur@freescale.com>
To: git@vger.kernel.org
Subject: Re: Problem with send-email
Date: Fri, 08 Sep 2006 17:57:27 -0500 [thread overview]
Message-ID: <4501F557.7050103@freescale.com> (raw)
In-Reply-To: <edsqjo$gh3$1@sea.gmane.org>
Jakub Narebski wrote:
> Timur Tabi wrote:
>
>> Everything works. However, if I do this:
>>
>> git-send-email --from timur@freescale.com --to \
>> --smtp-server remotesmtp.freescale.net patchfile
>>
>
> What do you expect when you specify _empty_ To: header?
Sorry, that was a bad cut-and-paste. I don't know what happened. That line is supposed to read:
git-send-email --from timur@freescale.com --to timur@tabi.org --smtp-server remotesmtp.freescale.net patchfile
The error message I get is the same:
(mbox) Adding cc: Timur Tabi <timur@freescale.com> from line 'From: Timur Tabi <timur@freescale.com>'
(sob) Adding cc: Timur Tabi <timur@freescale.com> from line 'Signed-off-by: Timur Tabi <timur@freescale.com>
'
5.0.0 <Timur Tabi <timur@freescale.com>... Unbalanced '<'
I do have some news. This problem goes away if I don't specify the --smtp-server parameter.
>
> I use git-send-email from time to time; I always specify From:,
> either entering it when prompted, or using --from parameter.
> The fact that it didn't fill default value from committer/author
> core.author+core.email is I guess a bug...
Like I said, I think the bug is in the call to readline(). Like I said, I don't know Perl, but from the documentation I have read, I don't think readline() takes two parameters.
do {
$_ = $term->readline("Who should the emails appear to be from? ",
$from);
} while (!defined $_);
$from = $_;
$from does contain the correct value when readline() is called. The problem is that $_ contains nothing, which causes $from to be erased.
--
Timur Tabi
Linux Kernel Developer @ Freescale
next prev parent reply other threads:[~2006-09-08 22:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-08 21:02 Problem with send-email Timur Tabi
2006-09-08 22:25 ` Jakub Narebski
2006-09-08 22:57 ` Timur Tabi [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-09-08 21:04 Timur Tabi
2006-09-08 21:11 Timur Tabi
2006-09-08 21:13 Timur Tabi
2006-09-08 21:35 ` Timur Tabi
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=4501F557.7050103@freescale.com \
--to=timur@freescale.com \
--cc=git@vger.kernel.org \
/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).