Skip to contentSkip to conversation

docs: process: Add an example for creating a fixes tag

PATCH In review [email protected] 2 participants 2 messages Jul 10, 2020 – Jul 23, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: process: Add an example for creating a fixes tag

From: Tom Rix <[email protected]>

To make it a little clearer how to create a fixes tag, add an example based on the preceeding gitconfig setup.

---
 Documentation/process/submitting-patches.rst | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/process/submitting-patches.rst +5 -0
index e58b2c541d25..5219bf3cddfc 100644
@@ -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
Signature · 1 line
2.18.1
maintainer
#1 lore raw
Quoted 13 lines · On Fri, 10 Jul 2020 13:01:15 -0700 [email protected] wrote:

To make it a little clearer how to create a fixes tag, add an example based on the preceeding gitconfig setup.

---
 Documentation/process/submitting-patches.rst | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/process/submitting-patches.rst +0 -0
index e58b2c541d25..5219bf3cddfc 100644

Documentation/process/submitting-patches.rst outputting the above style in the ``git log`` or ``git show`` commands:: · line 203

Quoted 8 lines
Documentation/process/submitting-patches.rst +5 -0
@@ -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")
+

Sure, why not? Applied, thanks.

jon