git-send-email.perl: Add --to-cmd
authorJoe Perches <joe@perches.com>
Fri, 24 Sep 2010 17:03:00 +0000 (10:03 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Sep 2010 19:36:57 +0000 (12:36 -0700)
commit6e74e075d25aea67cf973e456a6804c0c3741235
tree6e6d2d1249eb0039391bdfd073f48c66d6606695
parent9027fa9eb7df606b6658dd48a40bb993ce222ddd
git-send-email.perl: Add --to-cmd

Add the ability to use a command line --to-cmd=cmd
to create the list of "To:" addresses.

Used a shared routine for --cc-cmd and --to-cmd.

Did not use IPC::Open2, leaving that for Ævar if
ever he decides to fix the other bugs he might find.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-send-email.txt
git-send-email.perl
t/t9001-send-email.sh