email.sh 219 B

123456
  1. #!/bin/sh -v
  2. # args [where to put patches] [smtp server] [destination]
  3. git format-patch -o "$1" --inline --subject-prefix=soc --thread origin
  4. git send-email --no-chain-reply-to --smtp-server $2 --to $3 --dry-run "$1"