From 2e0ab8c18f1869a6fd1f53140fed0b4f3a1c3274 Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Sat, 6 Nov 2010 10:06:11 -0400 Subject: git-pull: add send-pull-request script send-pull-request facilitates sending pull requests generated by create-pull-request. The primary role of this script is to harvest email addresses from the patches and send them out. A working installation of sendmail (exim, postfix, msmtp, etc.) is required to use this script. You can explicitly specify To addresses with the -t option. As this can be tedious, the -a option will scan all the patches for To, CC, and *-by lines and the collected addresses to the To and CC headers for each patch. This script uses an identical recipients list for every patch, including the cover letter. This is by design. Existing tools will auto-generate the CC header for individual patches, but since they don't apply it to the other patches, the recipients can lack the necessary context to provide a meaningful review. This is especially true of the cover letter. The pull directory generated by the create-pull-request script is specified using the -p option. Signed-off-by: Darren Hart CC: Nitin A Kamble CC: Richard Purdie CC: Saul Wold CC: Bruce Ashfield --- scripts/send-pull-request | 133 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100755 scripts/send-pull-request (limited to 'scripts/send-pull-request') diff --git a/scripts/send-pull-request b/scripts/send-pull-request new file mode 100755 index 0000000000..0576a5dd44 --- /dev/null +++ b/scripts/send-pull-request @@ -0,0 +1,133 @@ +#!/bin/bash +AUTO=0 + +usage() +{ +cat <