From: Sasha Levin <sashal@kernel.org>
To: Thorsten Leemhuis <linux@leemhuis.info>
Cc: workflows@vger.kernel.org, ksummit@lists.linux.dev,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>,
Mark Brown <broonie@kernel.org>, Theodore Ts'o <tytso@mit.edu>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Leon Romanovsky <leon@kernel.org>,
Konstantin Ryabitsev <konstantin@linuxfoundation.org>,
"Michael S. Tsirkin" <mst@redhat.com>,
Kees Cook <kees@kernel.org>,
Geert Uytterhoeven <geert@linux-m68k.org>,
Dan Carpenter <error27@gmail.com>,
Miguel Ojeda <ojeda@kernel.org>
Subject: Re: [PATCH v3 2/7] docs: submitting-patches: say which commit a Fixes tag names
Date: Tue, 20 Oct 2026 09:54:29 -0400 [thread overview]
Message-ID: <20261020135429.3340755-1-sashal@kernel.org> (raw)
In-Reply-To: <bcef59f8-33fe-4bbe-8429-307630dc6bb5@leemhuis.info>
On Sat, Oct 17, 2026 at 10:07:36AM +0200, Thorsten Leemhuis wrote:
>How about this instead:
>
>"""
>Name the commit that introduced the bug in the first place; hence, when
>using ``git blame`` to find it, ensure to not settle on changes that
>just moved the code. If the bug was introduced by more than one commit,
>add Fixes: tags for each. If some change according to ``git bisect``
>exposed a formerly hidden bug, add a Fixes: tag for that change, too. Do
>not add tags for commits that are only suspected.
>"""
[...]
>* After thinking about our recent discussion some more, I think the
>Fixes: tag for a change that exposed a bug should be mandatory.
Agreed. It also matches handling-regressions.rst, which already asks for
a Fixes: tag on the commit causing a regression.
I'd keep one word from v3: "separately". "Introduced by more than one
commit" also reads as a bug that only appeared once several commits came
together, where the tag belongs on the one that completed it. Tagging
all of them would send the fix to trees that have only some of them.
So v4 will have:
Name the commit that introduced the bug. When using ``git blame`` to
find it, do not settle on a commit that only moved the code. If a later
commit exposed an older bug, add a Fixes: tag for that commit too. If
the same bug was introduced separately by more than one commit, add a
Fixes: tag for each. Do not add tags for commits that are only
suspected. The Fixes: tags tell the stable team which trees need the
fix: those that contain one of the tagged commits. Trees that contain
none of them do not need it.
--
Thanks,
Sasha
next prev parent reply other threads:[~2026-10-20 13:54 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-16 15:28 [PATCH v3 0/7] agents: add skills for Fixes tags, stable tags, similar bugs, and commit messages Sasha Levin
2026-10-16 15:28 ` [PATCH v3 1/7] agents: add infrastructure for agent resources Sasha Levin
2026-10-16 16:02 ` Bradley Morgan
2026-10-20 13:29 ` Sasha Levin
2026-10-16 15:28 ` [PATCH v3 2/7] docs: submitting-patches: say which commit a Fixes tag names Sasha Levin
2026-10-16 16:03 ` Bradley Morgan
2026-10-17 8:07 ` Thorsten Leemhuis
2026-10-20 13:54 ` Sasha Levin [this message]
2026-10-20 14:26 ` Thorsten Leemhuis
2026-10-16 15:28 ` [PATCH v3 3/7] docs: stable-kernel-rules: drop rules the stable trees do not apply Sasha Levin
2026-10-16 15:59 ` Greg Kroah-Hartman
2026-10-16 16:01 ` Bradley Morgan
2026-10-20 13:29 ` Sasha Levin
2026-10-17 16:44 ` SJ Park
2026-10-16 15:28 ` [PATCH v3 4/7] agents: add a skill to determine Fixes tags Sasha Levin
2026-10-16 16:04 ` Bradley Morgan
2026-10-16 15:28 ` [PATCH v3 5/7] agents: add a skill to determine stable tags Sasha Levin
2026-10-16 16:04 ` Bradley Morgan
2026-10-16 15:28 ` [PATCH v3 6/7] agents: add a skill to find other instances of a fixed bug Sasha Levin
2026-10-16 16:05 ` Bradley Morgan
2026-10-16 18:00 ` Julia Lawall
2026-10-16 18:09 ` Sasha Levin
2026-10-16 18:17 ` Julia Lawall
2026-10-16 18:32 ` Sasha Levin
2026-10-16 15:28 ` [PATCH v3 7/7] agents: add a skill to write commit messages Sasha Levin
2026-10-16 16:05 ` Bradley Morgan
2026-10-20 13:29 ` Sasha Levin
2026-10-16 16:00 ` [PATCH v3 0/7] agents: add skills for Fixes tags, stable tags, similar bugs, and " Miguel Ojeda
2026-10-20 13:31 ` Sasha Levin
2026-10-20 16:23 ` Miguel Ojeda
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261020135429.3340755-1-sashal@kernel.org \
--to=sashal@kernel.org \
--cc=broonie@kernel.org \
--cc=corbet@lwn.net \
--cc=error27@gmail.com \
--cc=geert@linux-m68k.org \
--cc=gregkh@linuxfoundation.org \
--cc=kees@kernel.org \
--cc=konstantin@linuxfoundation.org \
--cc=ksummit@lists.linux.dev \
--cc=laurent.pinchart@ideasonboard.com \
--cc=leon@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@leemhuis.info \
--cc=mst@redhat.com \
--cc=ojeda@kernel.org \
--cc=rdunlap@infradead.org \
--cc=skhan@linuxfoundation.org \
--cc=tytso@mit.edu \
--cc=workflows@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.