Re: [PATCH] .editorconfig: move to Documentation/ directory

From: Greg Kroah-Hartman
Date: Tue Jun 11 2024 - 03:27:17 EST


On Mon, Jun 10, 2024 at 11:53:46PM -0700, Danny Lin wrote:
> On Mon, Jun 10, 2024 at 11:49 PM, Greg Kroah-Hartman 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.
>
> If trim_trailing_whitespace is the only rule that has actually been a problem,
> how about removing it and leaving the rest of .editorconfig intact?
> The other rules are still useful to have as defaults.

Good idea, let me do v2 with that...