doc: process: clarify scope of applying-patches as legacy reference
Subsystems (2)
PATCH v3 1/1 doc: process: clarify scope of applying-patches as legacy reference
The applying-patches.rst document describes the manual manipulation of source trees using the traditional 'patch' and 'diff' utilities. While technically accurate for non-Git or constrained environments, it can create friction for new contributors seeking the primary Git-based workflows.
Update the opening note to explicitly state that this document serves as a reference for legacy or constrained workflows. Provide a direct cross-reference to howto.rst to steer contributors toward the standard Git infrastructure.
---
---
Changes in v3:
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
- Link to v1: https://lore.kernel.org/r/[email protected]
--- Documentation/process/applying-patches.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)
Documentation/process/applying-patches.rst +8 -3
@@ -8,8 +8,14 @@ Original by: .. note:: - This document is obsolete. In most cases, rather than using ``patch`` - manually, you'll almost certainly want to look at using Git instead. + This document focuses on the legacy method of manually manipulating source + trees using the traditional ``patch`` and ``diff`` utilities. + + For the standard Git-based workflow used to clone the repository and work + with kernel patches, please refer to Documentation/process/howto.rst. + + The information below is maintained as a reference for constrained + environments or legacy workflows where Git infrastructure is unavailable. A frequently asked question on the Linux Kernel Mailing List is how to apply a patch to the kernel or, more specifically, what base kernel a patch for
@@ -20,7 +26,6 @@ In addition to explaining how to apply and revert patches, a brief description of the different kernel trees (and examples of how to apply their specific patches) is also provided. - What is a patch? ================
---
base-commit: 05441d697f7f9a927264f4058cbbc6a03dfcac9d
change-id: 20261104-doc-patch-fix-0241ebee9254
Best regards,
Signature · 1 line
Oscar Alejandro Sánchez Lucero <[email protected]>
Quoted 20 lines · Oscar Alejandro Sánchez Lucero
The
applying-patches.rstdocument describes the manual manipulation of source trees using the traditional 'patch' and 'diff' utilities. While technically accurate for non-Git or constrained environments, it can create friction for new contributors seeking the primary Git-based workflows.Update the opening note to explicitly state that this document serves as a reference for legacy or constrained workflows. Provide a direct cross-reference to
howto.rstto steer contributors toward the standard Git infrastructure.Signed-off-by Oscar Alejandro Sánchez Lucero <[email protected]>---
Signed-off-by AleSZLucero <[email protected]>---
Changes in v3:
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
- Link to v2: https://lore.kernel.org/r/[email protected]
Quoted 5 lines
Changes in v2:
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
- Link to v1: https://lore.kernel.org/r/[email protected]
---
You may want to modify the EDITMEs. ;-)
Quoted 11 lines
Documentation/process/applying-patches.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)Documentation/process/applying-patches.rst +0
-0@@ -8,8 +8,14 @@ Original by: .. note::
Documentation/process/applying-patches.rst Original by: · line 18
Quoted 10 lines
Documentation/process/applying-patches.rst +8
-2- This document is obsolete. In most cases, rather than using ``patch`` - manually, you'll almost certainly want to look at using Git instead. + This document focuses on the legacy method of manually manipulating source + trees using the traditional ``patch`` and ``diff`` utilities. + + For the standard Git-based workflow used to clone the repository and work + with kernel patches, please refer to Documentation/process/howto.rst. + + The information below is maintained as a reference for constrained + environments or legacy workflows where Git infrastructure is unavailable.
Yes, further explained the note added by Jon.
But I guess Jon's commit message is clear enough? --
"This is ancient stuff and we don't do things this way anymore. In the absence of simply deleting the document, at least add a warning to it." (commit 67972a539e9f, "docs: Add a warning to applying-patches.rst")
It seems that there is no that great necessity for revisions, from my perspective of reading experience. Thanks.
Quoted 8 lines · On 04/11/2026 19:31, Oscar Alejandro Sánchez Lucero via B4 Relay wrote:
From: Oscar Alejandro Sánchez Lucero <[email protected]>
The
applying-patches.rstdocument describes the manual manipulation of source trees using the traditional 'patch' and 'diff' utilities. While technically accurate for non-Git or constrained environments, it can create friction for new contributors seeking the primary Git-based workflows.
Quoted 8 lines
Update the opening note to explicitly state that this document serves as a reference for legacy or constrained workflows. Provide a direct cross-reference to
howto.rstto steer contributors toward the standard Git infrastructure.Signed-off-by Oscar Alejandro Sánchez Lucero <[email protected]>---
Signed-off-by AleSZLucero <[email protected]>
Drop
Quoted 10 lines
---
Changes in v3:
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
- Link to v2: https://lore.kernel.org/r/[email protected]Changes in v2:
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
- Link to v1: https://lore.kernel.org/r/[email protected]
Do you see EDITME?
Quoted 4 lines
--- Documentation/process/applying-patches.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)
...
Documentation/process/applying-patches.rst In addition to explaining how to apply and revert patches, a brief · line 23
Quoted 7 lines
A frequently asked question on the Linux Kernel Mailing List is how to apply a patch to the kernel or, more specifically, what base kernel a patch for
Documentation/process/applying-patches.rst +0
-1@@ -20,7 +26,6 @@ In addition to explaining how to apply and revert patches, a brief description of the different kernel trees (and examples of how to apply their specific patches) is also provided. -
Why?
Best regards,
Krzysztof