repo.or.cz
/
alt-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/11 #04)
[alt-git.git]
/
SE
blob
1a5cb6d9e54ce8cacf839942a76939b136e6a615
1
#!/bin/sh
2
3
me
=
'Junio C Hamano <gitster@pobox.com>'
4
smtp
=
'/usr/bin/msmtp'
5
6
#to='junkio@cox.net'
7
#smtp=/var/tmp/smtp-server
8
9
while case
$#
in
0
)
break
;;
esac
10
do
11
case
"
$1
"
in
12
--dry-run
|
-n
)
13
dryrun
=
--dry-run
14
;;
15
--
)
16
shift
17
break
18
;;
19
-*)
20
echo
>&
2
"?
$1
"
21
exit
1
22
;;
23
*)
24
break
25
;;
26
esac
27
shift
28
done
29
30
git send-email \
31
--from
=
"
$me
"
\
32
--envelope-sender
=
"
$me
"
\
33
--smtp-server
=
$smtp
\
34
$dryrun
\
35
"$@"