diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-05-20 20:36:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-25 15:50:53 +0100 |
commit | 7fd97dd14de6034c809f459df2fbe4f960cc0c68 (patch) | |
tree | d3ab61fce38881b3ae76f470d2d1fdc2f5817145 /scripts/send-pull-request | |
parent | 8e341a6b390098df2685c8a469fd6bfc3163e442 (diff) | |
download | ast2050-yocto-poky-7fd97dd14de6034c809f459df2fbe4f960cc0c68.zip ast2050-yocto-poky-7fd97dd14de6034c809f459df2fbe4f960cc0c68.tar.gz |
send-pull-request: drop sendemail checks
git send-email has the correct check on it. Basically the From is
taken from the git 'user' and 'email' config values and in case
'sendemail.smtpserver' is not provided it defaults to use local
sendmail command.
(From OE-Core rev: b75cf390d75957f5b5718892942f76fc4295270f)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/send-pull-request')
-rwxr-xr-x | scripts/send-pull-request | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/scripts/send-pull-request b/scripts/send-pull-request index cee9253..5dfc246 100755 --- a/scripts/send-pull-request +++ b/scripts/send-pull-request @@ -67,19 +67,6 @@ harvest_recipients() unset IFS } -check_git_sendemail_config() -{ - GIT_SMTP=$(git config sendemail.smtpserver) - GIT_FROM=$(git config sendemail.from) - if [ -z "$GIT_SMTP" ] || [ -z "$GIT_FROM" ]; then - echo "ERROR: git sendemail is not configured." - echo "Please read GIT-SEND-EMAIL(1) and configure:" - echo " sendemail.smtpserver" - echo " sendemail.from" - exit 1 - fi -} - # Parse and verify arguments while getopts "achp:t:" OPT; do case $OPT in @@ -113,9 +100,6 @@ while getopts "achp:t:" OPT; do esac done -# Abort early if git-send-email is not properly configured -check_git_sendemail_config - if [ -z "$PDIR" ]; then echo "ERROR: you must specify a pull-dir." usage |