repo.or.cz
/
git
/
jnareb-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
What's cooking (2013/01 #03)
[git/jnareb-git.git]
/
SE
blob
14e6b71bf6e047aa52e057e56e6f8bd9790c49db
1
#!/bin/sh
2
3
me
=
'Junio C Hamano <gitster@pobox.com>'
4
smtp
=
'/usr/bin/msmtp'
5
to
=
'git@vger.kernel.org'
6
7
#to='junkio@cox.net'
8
#smtp=/var/tmp/smtp-server
9
10
while case
$#
in
0
)
break
;;
esac
11
do
12
case
"
$1
"
in
13
--dry-run
|
-n
)
14
dryrun
=
--dry-run
15
;;
16
--
)
17
shift
18
break
19
;;
20
-*)
21
echo
>&
2
"?
$1
"
22
exit
1
23
;;
24
*)
25
break
26
;;
27
esac
28
shift
29
done
30
31
git send-email \
32
--from
=
"
$me
"
\
33
--envelope-sender
=
"
$me
"
\
34
--to
=
"
$to
"
\
35
--smtp-server
=
$smtp
\
36
$dryrun
\
37
"$@"