On Saturday 27 February 2016 12:10:00 Andreas Pape wrote:
Is there a way to generate the cover letter also with git send-email? As I did not know how to generate it, I used claws as a separate e-mail client.
I've already explained this earlier [1]:
git send-email --compose 0001-.... 0002-... ....
The --compose option should force git-send-email to open an $EDITOR which then can be used to write a separate message. But you can also just create manually a 0000-* file with the same valid mail headers (like the ones in a patch generated by git-format-patch) and add it as first file to `git send-email`.
I used checkpatch.pl of linux 4.5 rc5 and checked each patch seperately without open issues. These things with bracket alignment etc. start driving me crazy. Looks as if I don't use a proper editor. Can you recommend one to use before sending patches?
Every editor which can be configured to represent one tab as 8 spaces. I personally use kate or vim.
You should use checkpatch.pl with --strict. And you can also try to check the original source file with bracket_align.py [2]. Btw. I personally use checkpatch.pl from linux-next [3] because it usually has some new checks which are not yet in Linus' tree.
Kind regards, Sven
[1] https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2016-February/014491.html [2] https://git.open-mesh.org/build_test.git/blob_plain/HEAD:/testhelpers/bracke... [3] https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/