mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 11:53:53 +00:00
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]>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user