On 12/02/2016 02:09, Laszlo Ersek wrote:
> (23) Now we'll format the patches as email messages, and send them to
>      the list. Standing in the root of your edk2 directory, run the
>      following (note that the "-O" option needs customization: please
>      update the pathname to the file created in step (10)):
> 
>        rm -f -- *.patch
> 
>        git format-patch                               \
>          --notes                                      \
>          -O"/fully/qualified/path/to/edk2.diff.order" \
>          --cover-letter                               \
>          --numbered                                   \
>          --subject-prefix="PATCH v1"                  \
>          --stat=1000                                  \
>          --stat-graph-width=20                        \
>        master..implement_foo_for_bar_v1

You can add

   git config diff.orderFile "/fully/qualified/path/to/edk2.diff.order"

to step (10) instead of adding -O.

Also you can add

   git config --global alias.format-series "format-patch --notes --cover-letter 
--numbered --stat=1000 --stat-graph-width=20"

to step (05) and simplify the above to

   git format-series --subject-prefix="PATCH v1" master..

> 
>      git send-email                 \
>        --suppress-cc=author         \
>        --suppress-cc=self           \
>        --suppress-cc=cc             \
>        --suppress-cc=sob            \
>        [email protected] \
>        *.patch

Same here.  You can add more "git config" commands to step (05),
particularly

   git config send-email.to = [email protected]

and simplify this to

   git send-email *.patch

(Not sure why you're adding the Why the "--suppress-cc").

Paolo
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to