summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Zander <negril.nx+gentoo@gmail.com>2024-05-05 16:45:29 +0200
committerSam James <sam@gentoo.org>2024-09-19 08:25:28 +0100
commit26cbace833d5964331ac3068017fd9f3f0e93b8d (patch)
treed10e4a7b72fbf1c71c6cdcf22d101c4f21dd3ea0 /.editorconfig
parentapp-misc/fastfetch: add 2.25.0 (diff)
downloadgentoo-26cbace833d5964331ac3068017fd9f3f0e93b8d.tar.gz
gentoo-26cbace833d5964331ac3068017fd9f3f0e93b8d.tar.bz2
gentoo-26cbace833d5964331ac3068017fd9f3f0e93b8d.zip
.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@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig3
1 files changed, 3 insertions, 0 deletions
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