From a8023571ad826b4e4e6dc77dfb67c050d21cb3aa Mon Sep 17 00:00:00 2001 From: Paul Zander Date: Fri, 27 Mar 2026 15:46:24 +0100 Subject: [PATCH] .editorconfig: don't strip trailing whitespace from patches Mirrors ::gentoo .editorconfig. This breaks patches on saving otherwise, if you edit the patchfile manually. Signed-off-by: Paul Zander --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index 28c2daf2e4..943ce25d0e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -13,3 +13,6 @@ trim_trailing_whitespace = true [repositories.xml] indent_style = space tab_width = 2 + +[*.patch] +trim_trailing_whitespace = false