Skip to contentSkip to conversation

Documentation: Process: Add a note about git way of applying patch

PATCH In review Bhaskar Chowdhury 2 participants 4 messages Sep 7, 2023

Subsystems (2)
lore
Share & tools
lore
#2 lore raw
In reply to Jonathan Corbet
Quoted 26 lines · Jonathan Corbet
Quoted 24 lines · Bhaskar Chowdhury
---
 Documentation/process/applying-patches.rst | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/process/applying-patches.rst +7 -0
index c269f5e1a0a3..201b9900bffe 100644
@@ -6,6 +6,13 @@ Applying Patches To The Linux Kernel
 Original by:
 	Jesper Juhl, August 2005
 
+
+.. applying patch by Git::
+
+    You can use the below syntax to patch in git repository
+    git-apply --whitespace=error-all <patchfile>
+
+
 .. note::
 
Quoted 3 lines

Documentation/process/applying-patches.rst Applying Patches To The Linux Kernel · line 18

Quoted 1 line
Documentation/process/applying-patches.rst +0 -0
    This document is obsolete.  In most cases, rather than using ``patch``

So why are you sending a patch ... with no changelog

My bad. Realized it once send it.

Quoted 1 line

to a document that is explicitly marked as being obsolete?

I thought if people visit that page , that note might help.

Are we taking out that page from the doc? Why that page is still there?

Quoted 1 line

jon

--
Thanks,
Bhaskar

"Here's looking at you kid"-- Casablanca
https://about.me/unixbhaskar

#0 lore raw

PATCH 1/1 Documentation: Process: Add a note about git way of applying patch

---
 Documentation/process/applying-patches.rst | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/process/applying-patches.rst +7 -0
index c269f5e1a0a3..201b9900bffe 100644
@@ -6,6 +6,13 @@ Applying Patches To The Linux Kernel
 Original by:
 	Jesper Juhl, August 2005
 
+
+.. applying patch by Git::
+
+    You can use the below syntax to patch in git repository
+    git-apply --whitespace=error-all <patchfile>
+
+
 .. note::
 
    This document is obsolete.  In most cases, rather than using ``patch``

--
2.41.0

maintainer
#1 lore raw
Quoted 15 lines · Bhaskar Chowdhury
---
 Documentation/process/applying-patches.rst | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/process/applying-patches.rst +0 -0
index c269f5e1a0a3..201b9900bffe 100644
@@ -6,6 +6,13 @@ Applying Patches To The Linux Kernel
 Original by:
 	Jesper Juhl, August 2005
 

Documentation/process/applying-patches.rst Applying Patches To The Linux Kernel · line 18

Quoted 10 lines
Documentation/process/applying-patches.rst +7 -0
+
+.. applying patch by Git::
+
+    You can use the below syntax to patch in git repository
+    git-apply --whitespace=error-all <patchfile>
+
+
 .. note::
 
    This document is obsolete.  In most cases, rather than using ``patch``

So why are you sending a patch ... with no changelog ... adding a useless label ... and Sphinx syntax errors ... to a document that is explicitly marked as being obsolete?

jon

maintainer
#3 lore raw
In reply to Bhaskar Chowdhury
Quoted 31 lines · Bhaskar Chowdhury
Quoted 26 lines · Jonathan Corbet
Quoted 24 lines · Bhaskar Chowdhury
---
 Documentation/process/applying-patches.rst | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/process/applying-patches.rst +7 -0
index c269f5e1a0a3..201b9900bffe 100644
@@ -6,6 +6,13 @@ Applying Patches To The Linux Kernel
 Original by:
 	Jesper Juhl, August 2005
 
+
+.. applying patch by Git::
+
+    You can use the below syntax to patch in git repository
+    git-apply --whitespace=error-all <patchfile>
+
+
 .. note::
 
Quoted 3 lines

Documentation/process/applying-patches.rst Applying Patches To The Linux Kernel · line 18

Quoted 1 line
Documentation/process/applying-patches.rst +0 -0
    This document is obsolete.  In most cases, rather than using ``patch``

So why are you sending a patch ... with no changelog

Quoted 8 lines

My bad. Realized it once send it.

Quoted 1 line

to a document that is explicitly marked as being obsolete?

I thought if people visit that page , that note might help.

Are we taking out that page from the doc? Why that page is still there?

I would happily remove it, but ran into resistance (a few years ago) when I suggested it.

Thanks,

jon