summaryrefslogtreecommitdiffstats
path: root/Documentation/process
diff options
context:
space:
mode:
authorAditya Srivastava <yashsri421@gmail.com>2020-11-10 23:17:49 +0530
committerJonathan Corbet <corbet@lwn.net>2020-11-13 15:01:19 -0700
commit7d71788735608b1578e3615ff2646d3a089ff0a8 (patch)
tree7ac5b820d22ea041380d7b512cdfd6db5818f6a7 /Documentation/process
parentf8394f232b1eab649ce2df5c5f15b0e528c92091 (diff)
downloadlinux-stable-7d71788735608b1578e3615ff2646d3a089ff0a8.tar.gz
linux-stable-7d71788735608b1578e3615ff2646d3a089ff0a8.tar.bz2
linux-stable-7d71788735608b1578e3615ff2646d3a089ff0a8.zip
Documentation: include sign off for reverts
Currently, we do not have any documentation on commit reverts regarding the requirement of Signed-off-by tag for it. This may be misleading to the users. Evaluating MISSING_SIGN_OFF checkpatch warnings on v4.13..v5.8 showed that 4 out of 11 cases missing a sign-off are revert commits. Add documentation regarding the same to document the community consensus and let readers know. Signed-off-by: Aditya Srivastava <yashsri421@gmail.com> Link: https://lore.kernel.org/r/20201110174749.32068-1-yashsri421@gmail.com Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/process')
-rw-r--r--Documentation/process/submitting-patches.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/process/submitting-patches.rst b/Documentation/process/submitting-patches.rst
index 83d9a82055a7..fb8261a4be30 100644
--- a/Documentation/process/submitting-patches.rst
+++ b/Documentation/process/submitting-patches.rst
@@ -404,6 +404,8 @@ then you just add a line saying::
using your real name (sorry, no pseudonyms or anonymous contributions.)
This will be done for you automatically if you use ``git commit -s``.
+Reverts should also include "Signed-off-by". ``git revert -s`` does that
+for you.
Some people also put extra tags at the end. They'll just be ignored for
now, but you can do this to mark internal company procedures or just