repo.or.cz
/
git
/
spearce.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 as of 1.6.2-rc0
[git/spearce.git]
/
SE
blob
773062802c26f4621a9b4aaedc404196a66fadd6
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
echo
>&
2
"?
$1
"
18
exit
1
19
;;
20
*)
21
break
22
;;
23
esac
24
shift
25
done
26
27
git send-email \
28
--from
=
"
$me
"
\
29
--envelope-sender
=
"
$me
"
\
30
--to
=
"
$to
"
\
31
--smtp-server
=
$smtp
\
32
$dryrun
\
33
"$@"