
One word wrt the i2c patches I just mailed. It was my impression that git send-email would include the number in the patch but as can be seen that was not the case.
The patches are to be applied in the following order: 0001-cmd_i2c.c-reduced-subaddress-length-to-3-bytes.patch 0002-cmd_bootm.c-made-subcommand-array-static.patch 0003-cmd_i2c.c-reworked-subcommand-handling.patch 0004-cmd_i2c.c-sorted-commands-alphabetically.patch 0005-cmd_i2c.c-added-i2c-read-to-memory-function.patch
(actually the bootm patch is not really relevant when it comes to ordering).
If anyone can educate me how to get the patches numbered, please (I have sent this by git send-email 0001... 0002.... etc in one command
Frans.
PS: I once read somewhere that it is also possible to add additional text in a patch only for the mailing list, so not part of the commit message. However, I could not find that info any more. If someone by any chance knows that please drop me a mail. FM

Hi Frans,
Le 24/02/2010 20:32, Frans Meulenbroeks a écrit :
If anyone can educate me how to get the patches numbered, please (I have sent this by git send-email 0001... 0002.... etc in one command
git format-patch -n
-n, --numbered Name output in [PATCH n/m] format, even with a single patch.
Frans.
PS: I once read somewhere that it is also possible to add additional text in a patch only for the mailing list, so not part of the commit message. However, I could not find that info any more. If someone by any chance knows that please drop me a mail.
maybe this option to git format-patch can help you even if that's not exactly what you ask here :
--cover-letter In addition to the patches, generate a cover letter file containing the shortlog and the overall diffstat. You can fill in a description in the file before sending it out.
Eric

Dear Frans Meulenbroeks,
In message ac9c93b11002241132j50c1c4a2p5e4407da7f096324@mail.gmail.com you wrote:
One word wrt the i2c patches I just mailed. It was my impression that git send-email would include the number in the patch but as can be seen that was not the case.
Git-send-email does not insert anything, it just sends the emails. If you want numbered patches, you have to add the numbers when formatting the patches - i. e. use "git-format-patch -n"
The patches are to be applied in the following order: 0001-cmd_i2c.c-reduced-subaddress-length-to-3-bytes.patch 0002-cmd_bootm.c-made-subcommand-array-static.patch 0003-cmd_i2c.c-reworked-subcommand-handling.patch 0004-cmd_i2c.c-sorted-commands-alphabetically.patch 0005-cmd_i2c.c-added-i2c-read-to-memory-function.patch
Thanks.
PS: I once read somewhere that it is also possible to add additional text in a patch only for the mailing list, so not part of the commit message.
Indeed. Text below the "---" line is comment.
Best regards,
Wolfgang Denk
participants (3)
-
Eric Bénard
-
Frans Meulenbroeks
-
Wolfgang Denk