diff options
| -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 cee9253777..5dfc246c34 100755 --- a/scripts/send-pull-request +++ b/scripts/send-pull-request | |||
| @@ -67,19 +67,6 @@ harvest_recipients() | |||
| 67 | unset IFS | 67 | unset IFS |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | check_git_sendemail_config() | ||
| 71 | { | ||
| 72 | GIT_SMTP=$(git config sendemail.smtpserver) | ||
| 73 | GIT_FROM=$(git config sendemail.from) | ||
| 74 | if [ -z "$GIT_SMTP" ] || [ -z "$GIT_FROM" ]; then | ||
| 75 | echo "ERROR: git sendemail is not configured." | ||
| 76 | echo "Please read GIT-SEND-EMAIL(1) and configure:" | ||
| 77 | echo " sendemail.smtpserver" | ||
| 78 | echo " sendemail.from" | ||
| 79 | exit 1 | ||
| 80 | fi | ||
| 81 | } | ||
| 82 | |||
| 83 | # Parse and verify arguments | 70 | # Parse and verify arguments |
| 84 | while getopts "achp:t:" OPT; do | 71 | while getopts "achp:t:" OPT; do |
| 85 | case $OPT in | 72 | case $OPT in |
| @@ -113,9 +100,6 @@ while getopts "achp:t:" OPT; do | |||
| 113 | esac | 100 | esac |
| 114 | done | 101 | done |
| 115 | 102 | ||
| 116 | # Abort early if git-send-email is not properly configured | ||
| 117 | check_git_sendemail_config | ||
| 118 | |||
| 119 | if [ -z "$PDIR" ]; then | 103 | if [ -z "$PDIR" ]; then |
| 120 | echo "ERROR: you must specify a pull-dir." | 104 | echo "ERROR: you must specify a pull-dir." |
| 121 | usage | 105 | usage |
