#!/bin/sh
# Review before sending:
#   - Adjust --smtp-server / --smtp-user if not already configured
#     in ~/.gitconfig
#   - --annotate opens the patch in $EDITOR for a last review before send
#   - This script sends patch-email.txt (created by the patch agent);
#     run the patch agent first if patch-email.txt does not yet exist.

git send-email \
    --annotate \
    --from="$(git config user.name) <$(git config user.email)>" \
    --in-reply-to="<69efb8dd.050a0220.18b4f.0006.GAE@google.com>" \
    --to="linux-wireless@vger.kernel.org" \
    "$(dirname "$0")/patch-email.txt"
