aboutsummaryrefslogtreecommitdiffstats
path: root/mt-work/email.sh
blob: e5cdb72338c747f755067ab2fbaec3a8c3f356ed (plain) (blame)
1
2
3
4
5
6
#!/bin/sh -v

# args [where to put patches] [smtp server] [destination]

git format-patch -o "$1" --inline --subject-prefix=soc --thread origin
git send-email --no-chain-reply-to --smtp-server $2 --to $3 --dry-run "$1"