commit:     26cbace833d5964331ac3068017fd9f3f0e93b8d
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Sun May  5 14:45:29 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 19 07:25:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26cbace8

.editorconfig: don't trim trailing whitespace for patches

Trimming trailing whitespace breaks patches.

[sam: Drop copyright header for now as there was some pending discussion
about it on the ML, tweak commit message.]

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .editorconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.editorconfig b/.editorconfig
index 7d6e17345e1e..8624863e01af 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -9,3 +9,6 @@ indent_style = tab
 indent_size = 4
 trim_trailing_whitespace = true
 #max_line_length = 80
+
+[*.patch]
+trim_trailing_whitespace = false

Reply via email to