Skip to content

Commit

Permalink
docs: process: Add an example for creating a fixes tag
Browse files Browse the repository at this point in the history
To make it a little clearer how to create a fixes tag,
add an example based on the preceeding gitconfig setup.

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20200710200115.21176-1-trix@redhat.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
  • Loading branch information
Tom Rix authored and Jonathan Corbet committed Jul 23, 2020
1 parent ed85ae5 commit 5b5bbb8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Documentation/process/submitting-patches.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,11 @@ outputting the above style in the ``git log`` or ``git show`` commands::
[pretty]
fixes = Fixes: %h (\"%s\")

An example call::

$ git log -1 --pretty=fixes 54a4f0239f2e
Fixes: 54a4f0239f2e ("KVM: MMU: make kvm_mmu_zap_page() return the number of pages it actually freed")

.. _split_changes:

3) Separate your changes
Expand Down

0 comments on commit 5b5bbb8

Please sign in to comment.