workflows.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: Process: Add a note about git way of applying patch
@ 2023-09-07 11:52 Bhaskar Chowdhury
  2023-09-07 12:48 ` Jonathan Corbet
  0 siblings, 1 reply; 4+ messages in thread
From: Bhaskar Chowdhury @ 2023-09-07 11:52 UTC (permalink / raw)
  To: corbet, workflows, linux-doc, linux-kernel; +Cc: Bhaskar Chowdhury, jesper.juhl

cc: jesper.juhl@gmail.com

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 Documentation/process/applying-patches.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/process/applying-patches.rst b/Documentation/process/applying-patches.rst
index c269f5e1a0a3..201b9900bffe 100644
--- a/Documentation/process/applying-patches.rst
+++ b/Documentation/process/applying-patches.rst
@@ -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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Documentation: Process: Add a note about git way of applying patch
  2023-09-07 11:52 [PATCH] Documentation: Process: Add a note about git way of applying patch Bhaskar Chowdhury
@ 2023-09-07 12:48 ` Jonathan Corbet
  2023-09-07 12:58   ` Bhaskar Chowdhury
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Corbet @ 2023-09-07 12:48 UTC (permalink / raw)
  To: Bhaskar Chowdhury, workflows, linux-doc, linux-kernel
  Cc: Bhaskar Chowdhury, jesper.juhl

Bhaskar Chowdhury <unixbhaskar@gmail.com> writes:

> cc: jesper.juhl@gmail.com
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
> ---
>  Documentation/process/applying-patches.rst | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/Documentation/process/applying-patches.rst b/Documentation/process/applying-patches.rst
> index c269f5e1a0a3..201b9900bffe 100644
> --- a/Documentation/process/applying-patches.rst
> +++ b/Documentation/process/applying-patches.rst
> @@ -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``

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Documentation: Process: Add a note about git way of applying patch
  2023-09-07 12:48 ` Jonathan Corbet
@ 2023-09-07 12:58   ` Bhaskar Chowdhury
  2023-09-07 13:25     ` Jonathan Corbet
  0 siblings, 1 reply; 4+ messages in thread
From: Bhaskar Chowdhury @ 2023-09-07 12:58 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: workflows, linux-doc, linux-kernel, jesper.juhl

[-- Attachment #1: Type: text/plain, Size: 1305 bytes --]

On 06:48 Thu 07 Sep 2023, Jonathan Corbet wrote:
>Bhaskar Chowdhury <unixbhaskar@gmail.com> writes:
>
>> cc: jesper.juhl@gmail.com
>>
>> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
>> ---
>>  Documentation/process/applying-patches.rst | 7 +++++++
>>  1 file changed, 7 insertions(+)
>>
>> diff --git a/Documentation/process/applying-patches.rst b/Documentation/process/applying-patches.rst
>> index c269f5e1a0a3..201b9900bffe 100644
>> --- a/Documentation/process/applying-patches.rst
>> +++ b/Documentation/process/applying-patches.rst
>> @@ -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``
>
>So why are you sending a patch ... with no changelog

My bad. Realized it once send it.


>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?


>jon

--
Thanks,
Bhaskar

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Documentation: Process: Add a note about git way of applying patch
  2023-09-07 12:58   ` Bhaskar Chowdhury
@ 2023-09-07 13:25     ` Jonathan Corbet
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Corbet @ 2023-09-07 13:25 UTC (permalink / raw)
  To: Bhaskar Chowdhury; +Cc: workflows, linux-doc, linux-kernel, jesper.juhl

Bhaskar Chowdhury <unixbhaskar@gmail.com> writes:

> On 06:48 Thu 07 Sep 2023, Jonathan Corbet wrote:
>>Bhaskar Chowdhury <unixbhaskar@gmail.com> writes:
>>
>>> cc: jesper.juhl@gmail.com
>>>
>>> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
>>> ---
>>>  Documentation/process/applying-patches.rst | 7 +++++++
>>>  1 file changed, 7 insertions(+)
>>>
>>> diff --git a/Documentation/process/applying-patches.rst b/Documentation/process/applying-patches.rst
>>> index c269f5e1a0a3..201b9900bffe 100644
>>> --- a/Documentation/process/applying-patches.rst
>>> +++ b/Documentation/process/applying-patches.rst
>>> @@ -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``
>>
>>So why are you sending a patch ... with no changelog
>
> My bad. Realized it once send it.
>
>
>>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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-07 17:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-07 11:52 [PATCH] Documentation: Process: Add a note about git way of applying patch Bhaskar Chowdhury
2023-09-07 12:48 ` Jonathan Corbet
2023-09-07 12:58   ` Bhaskar Chowdhury
2023-09-07 13:25     ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox