[libvirt] patch submission: git send-email, format-patch or git diff
Eric Blake
eblake at redhat.com
Mon May 3 15:13:04 UTC 2010
On 05/03/2010 08:26 AM, Laine Stump wrote:
> I recently learned that git send-email will send directly from the git
> history, without the bother of using git format-patch to create
> intermediate files. For example:
>
> git send-email -1
>
> will send an email containing the latest commit on the current branch.
>
> git send-email --compose -5
Another useful command line:
git send-email -5 --in-reply-to=... \
--annotate --compose --subject-prefix=PATCHv2
which lets me send a 5-patch series as a v2 reply to an earlier email,
with a cover letter, and allowing me to add comments to each individual
patch to document what changed from v1. The only thing that makes this
hard is that thunderbird 2.x used to have the mnenhy plugin to make it
very easy to get the Message-ID of any given message, but that plugin
has not been ported to thunderbird 3.0 so I have to view the source of a
message and manually find the MessageID.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100503/16e1dd38/attachment-0001.sig>
More information about the libvir-list
mailing list