On 02/25/2011 09:25 AM, Michal Novotny wrote:
> Example:
> 
> If you would like to send 3 last local commits in the patches and
> include some information to them you would run `git format-patch -3 -n
> --cover-letter'. It will create:
> 
> 0000-cover-letter.patch
> 0001-commit-message-header-1.patch
> 0002-commit-message-header-2.patch
> 0003-commit-message-header-3.patch
> 
> Those files are separate commits which will result into separate
> e-mails. You should open 0000-cover-letter.patch using your favorite
> text file editor and include subject and message instead of **SUBJECT**
> and **BLURB** lines. When you're done with that you can send them using
> `git send-email 00* --to e-mail-addr...@domain.tld`.

Or consolidate those steps, and run:

git send-email -3 --cover-letter --annotate

which opens an editor on 4 temporary files (the cover letter and three
patches), and mails all four of them on exit, without you having to do
any file cleanup afterwards.

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to