What's cooking (2013/11 #02)
[git.git] / SE
blob1a5cb6d9e54ce8cacf839942a76939b136e6a615
1 #!/bin/sh
3 me='Junio C Hamano <gitster@pobox.com>'
4 smtp='/usr/bin/msmtp'
6 #to='junkio@cox.net'
7 #smtp=/var/tmp/smtp-server
9 while case $# in 0) break ;; esac
11 case "$1" in
12 --dry-run | -n)
13 dryrun=--dry-run
15 --)
16 shift
17 break
19 -*)
20 echo >&2 "? $1"
21 exit 1
24 break
26 esac
27 shift
28 done
30 git send-email \
31 --from="$me" \
32 --envelope-sender="$me" \
33 --smtp-server=$smtp \
34 $dryrun \
35 "$@"