linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: process: Add an example for creating a fixes tag
@ 2020-07-10 20:01 trix
  2020-07-23 20:49 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: trix @ 2020-07-10 20:01 UTC (permalink / raw)
  To: corbet, jacobhuisman, robh, grandmaster, mchehab+huawei, konstantin
  Cc: linux-doc, linux-kernel, Tom Rix

From: Tom Rix <trix@redhat.com>

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>
---
 Documentation/process/submitting-patches.rst | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/process/submitting-patches.rst b/Documentation/process/submitting-patches.rst
index e58b2c541d25..5219bf3cddfc 100644
--- a/Documentation/process/submitting-patches.rst
+++ b/Documentation/process/submitting-patches.rst
@@ -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
-- 
2.18.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] docs: process: Add an example for creating a fixes tag
  2020-07-10 20:01 [PATCH] docs: process: Add an example for creating a fixes tag trix
@ 2020-07-23 20:49 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2020-07-23 20:49 UTC (permalink / raw)
  To: trix
  Cc: jacobhuisman, robh, grandmaster, mchehab+huawei, konstantin,
	linux-doc, linux-kernel

On Fri, 10 Jul 2020 13:01:15 -0700
trix@redhat.com wrote:

> 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>
> ---
>  Documentation/process/submitting-patches.rst | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/Documentation/process/submitting-patches.rst b/Documentation/process/submitting-patches.rst
> index e58b2c541d25..5219bf3cddfc 100644
> --- a/Documentation/process/submitting-patches.rst
> +++ b/Documentation/process/submitting-patches.rst
> @@ -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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-23 20:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-10 20:01 [PATCH] docs: process: Add an example for creating a fixes tag trix
2020-07-23 20:49 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).