Contrary to what I said some mails ago in other thread, I was thinking a
bit on this topic and I've just changed my mind: I guess it would be
better if we send patches inline instead of attached, as it's easier to
quote excerpts from the attached patches just by replying the mail.
However, make sure you still use the proper parameters to format and
send the patch, as the first one sent in this thread did not apply
properly with git-am.
As I said before, but removing the --attach thing to get inline patches,
here you are the cheatsheet with the parameters which would be nice for
you to use:
- For a single patch (against master):
git format-patch -M -C master
git send-email mypatch.patch
- For a set of patches (against master):
git format-patch -M -C -n --cover-letter -o patches/ master
(and then properly fill the content of the cover letter)
git send-email --no-chain-reply patches/*patch
This should work pretty well I guess, but I'm always open to suggestions
if you know a better way to do it :-)
Thanks!
Mario