On Tue, 11 Jun 2024, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> 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