On 14 May 2012 21:30, Stefan Weil<address@hidden> wrote:
if you use git for sending, you don't risk that your mailer destroys the
format of your patch.
I usually use these commands to send a single patch from the QEMU source
directory:
# Create the patch file (name depends on the subject line of your patch).
git format-patch HEAD^
# Check the patch (fix any issues which were found).
scripts/checkpatch.pl 0001-*
# Get the maintainer who is responsible (there is not always one).
scripts/get_maintainer.pl 0001-*
# Send the patch.
git send-email --to address@hidden --to "n.n<address@hidden>"
0001-*
If you do this more than once in the same git tree you'll regret it :-)
("git send-email 0001-*" will happily retransmit all the old 0001-foo
patches along with the new one...) I use git-format-patch's -o option to
put my sent patches in a separate directory so they don't clutter up the
working tree.