[ovs-dev] [PATCH ovn] docs: fix git format-patch command for backports

Ben Pfaff blp at ovn.org
Tue Jun 29 16:46:25 UTC 2021

On Tue, Jun 29, 2021 at 12:24:11PM -0400, Ihar Hrachyshka wrote:
> One, HEAD~, not HEAD, should be used to generate any patches. Two, add
> "ovn" to the generated mail topic. Third, update branch name to a
> fresh one.
> Signed-off-by: Ihar Hrachyshka <ihrachys at redhat.com>

Both of these look odd to me:
> -    $ git format-patch HEAD --subject-prefix="PATCH branch-2.7"
> +    $ git format-patch HEAD~ --subject-prefix="PATCH ovn branch-21.06"

I think the idea here is to just generate one patch from the tip of the
current branch.  HEAD~ works but I'd normally write -1 instead.

More information about the dev mailing list