summaryrefslogtreecommitdiff
path: root/mt-work/email.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mt-work/email.sh')
-rw-r--r--mt-work/email.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/mt-work/email.sh b/mt-work/email.sh
new file mode 100644
index 0000000000..e5cdb72338
--- /dev/null
+++ b/mt-work/email.sh
@@ -0,0 +1,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"