]> code.ossystems Code Review - openembedded-core.git/commit
send-pull-request: streamline git-send-email usage
authorDarren Hart <dvhart@linux.intel.com>
Mon, 16 May 2011 20:34:28 +0000 (13:34 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 May 2011 22:38:41 +0000 (23:38 +0100)
commit71286b32b58d4d1318b0a0a4b09ea65604d0e6fc
tree89209a290fef6c9d45fbcd496694867ee0b10554
parentc7f76dfb37022805458a7aeab8a51e44437f9abd
send-pull-request: streamline git-send-email usage

The script was sending one patch at a time, which defeats the internal
confirmation mechanism of git-send-email (which would otherwise allow
the user to send all patches or abort immediately).

Rework the sending logic to use no more than two commands. Use two
commands when the cover letter is to be sent to all recipients with
the -a argument. Otherwise, send all patches via the same command.

The script duplicates git's send confirmation, eliminate that.

Reported-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Joshua Lock <josh@linux.intel.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Joshua Lock <josh@linux.intel.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
scripts/send-pull-request