Merge pull request #21844 from johbo/tweak-editorconfig

Do not trim trailing whitespace in patch files

Changed files
+4
+4
.editorconfig
···
[*.{sh,py,pl}]
indent_style = space
indent_size = 4
+
+
# Match diffs, avoid to trim trailing whitespace
+
[*.{diff,patch}]
+
trim_trailing_whitespace = false