diff options
author | Darren Hart <dvhart@linux.intel.com> | 2011-01-26 09:42:33 -0800 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2011-01-26 09:49:07 -0800 |
commit | 4e23e8f9d0e22cf534c19224cba0be9bedba0120 (patch) | |
tree | 259ce6452271a196ca471a2bd6fc92df8ac7d6c6 /.gitignore | |
parent | 8ae1f88214acf8f44073f2e499bef59e9433fdfd (diff) | |
download | openembedded-core-4e23e8f9d0e22cf534c19224cba0be9bedba0120.tar.gz openembedded-core-4e23e8f9d0e22cf534c19224cba0be9bedba0120.tar.bz2 openembedded-core-4e23e8f9d0e22cf534c19224cba0be9bedba0120.tar.xz openembedded-core-4e23e8f9d0e22cf534c19224cba0be9bedba0120.zip |
send-pull-request: ensure a proper FROM header is included
Commit 94629f2521711055b412f954af19e48b9bda6e50 removes the FROM header when
sending via sendmail to avoid sending mail as the original change committer (as
opposed to the local user). This resulted in mail going out without any FROM
header, which some mailing lists correct by adding the *bounce address as the
FROM.
Correct this by reading FROM from the environment, from a new -f argument, or
from the git user.name and user.email config settings, in that order of
preference. Also display the FROM that will be used prior to the send
confirmation.
This has no effect if the -g (send via git) argument is specified, other than
printing the git sendemail.from config setting.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Reported-by: Saul Wold <saul.wold@intel.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions