What's cooking as of 1.6.2-rc0
[git/spearce.git] / SE
blob773062802c26f4621a9b4aaedc404196a66fadd6
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 echo >&2 "? $1"
18 exit 1
21 break
23 esac
24 shift
25 done
27 git send-email \
28 --from="$me" \
29 --envelope-sender="$me" \
30 --to="$to" \
31 --smtp-server=$smtp \
32 $dryrun \
33 "$@"