[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <877cetjrkh.fsf@intel.com>
Date: Thu, 13 Jun 2024 09:16:14 +0300
From: Jani Nikula <jani.nikula@...ux.intel.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, masahiroy@...nel.org
Cc: linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org, Greg
Kroah-Hartman <gregkh@...uxfoundation.org>, Danny Lin <danny@...ag0n.dev>,
Íñigo Huguet <ihuguet@...hat.com>, Mickaël Salaün <mic@...ikod.net>,
Vincent Mailhol <mailhol.vincent@...adoo.fr>
Subject: Re: [PATCH v2] .editorconfig: remove trim_trailing_whitespace option
On Tue, 11 Jun 2024, Greg Kroah-Hartman <gregkh@...uxfoundation.org> wrote:
> Some editors (like the vim variants), when seeing "trim_whitespace"
> decide to do just that for all of the whitespace in the file you are
> saving, even if it is not on a line that you have modified. This plays
> havoc with diffs and is NOT something that should be intended.
>
> As the "only trim whitespace on modified files" is not part of the
Do you mean s/files/lines/?
BR,
Jani.
> editorconfig standard yet, just delete these lines from the
> .editorconfig file so that we don't end up with diffs that are
> automatically rejected by maintainers for containing things they
> shouldn't.
--
Jani Nikula, Intel
Powered by blists - more mailing lists