[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201113150144.11316c0c@lwn.net>
Date: Fri, 13 Nov 2020 15:01:44 -0700
From: Jonathan Corbet <corbet@....net>
To: Aditya Srivastava <yashsri421@...il.com>
Cc: lukas.bulwahn@...il.com, joe@...ches.com, sir@...wn.com,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-kernel-mentees@...ts.linuxfoundation.org
Subject: Re: [PATCH v3] Documentation: include sign off for reverts
On Tue, 10 Nov 2020 23:17:49 +0530
Aditya Srivastava <yashsri421@...il.com> wrote:
> 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@...il.com>
> ---
> Documentation/process/submitting-patches.rst | 2 ++
> 1 file changed, 2 insertions(+)
>
> 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.
Applied, thanks.
jon
Powered by blists - more mailing lists