diff options
author | Tom Rix <trix@redhat.com> | 2020-07-10 13:01:15 -0700 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2020-07-23 14:49:23 -0600 |
commit | 5b5bbb8cc51be3c70993ddabfd216c5c769e8585 (patch) | |
tree | f546bbf51c27a21889a278e27f3cfcb13ef04533 /Documentation/process | |
parent | ed85ae502ee5a20ccd8b57efcaded3a1a81dd815 (diff) |
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 <trix@redhat.com>
Link: https://lore.kernel.org/r/20200710200115.21176-1-trix@redhat.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/process')
-rw-r--r-- | Documentation/process/submitting-patches.rst | 5 |
1 files changed, 5 insertions, 0 deletions
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 |