Dothem --scratch
[git/dscho.git] / SE
blob14e6b71bf6e047aa52e057e56e6f8bd9790c49db
1 #!/bin/sh
3 me='Junio C Hamano <gitster@pobox.com>'
4 smtp='/usr/bin/msmtp'
5 to='git@vger.kernel.org'
7 #to='junkio@cox.net'
8 #smtp=/var/tmp/smtp-server
10 while case $# in 0) break ;; esac
12 case "$1" in
13 --dry-run | -n)
14 dryrun=--dry-run
16 --)
17 shift
18 break
20 -*)
21 echo >&2 "? $1"
22 exit 1
25 break
27 esac
28 shift
29 done
31 git send-email \
32 --from="$me" \
33 --envelope-sender="$me" \
34 --to="$to" \
35 --smtp-server=$smtp \
36 $dryrun \
37 "$@"