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 in Aug #04
[git/spearce.git]
/
SE
blob
d48a919a9c02cc973a42936a7d3a3b4bc2bf40f4
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
--suppress-cc
=
all \
32
--smtp-server
=
$smtp
\
33
$dryrun
\
34
"$@"