Skip to content

Commit 5b5bbb8

Browse files
Tom RixJonathan Corbet
authored andcommitted
docs: process: Add an example for creating a fixes tag
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Corbet <[email protected]>
1 parent ed85ae5 commit 5b5bbb8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Documentation/process/submitting-patches.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,11 @@ outputting the above style in the ``git log`` or ``git show`` commands::
196196
[pretty]
197197
fixes = Fixes: %h (\"%s\")
198198

199+
An example call::
200+
201+
$ git log -1 --pretty=fixes 54a4f0239f2e
202+
Fixes: 54a4f0239f2e ("KVM: MMU: make kvm_mmu_zap_page() return the number of pages it actually freed")
203+
199204
.. _split_changes:
200205

201206
3) Separate your changes

0 commit comments

Comments
 (0)