From da563e5773be82c56d8ad2855f49b299c21aa2d1 Mon Sep 17 00:00:00 2001 From: Johannes Bornhold Date: Thu, 12 Jan 2017 23:44:26 +0100 Subject: [PATCH] Do not trim trailing whitespace in patch files --- .editorconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.editorconfig b/.editorconfig index 969e613536b..7b40ff1ff56 100644 --- a/.editorconfig +++ b/.editorconfig @@ -22,3 +22,7 @@ indent_size = 2 [*.{sh,py,pl}] indent_style = space indent_size = 4 + +# Match diffs, avoid to trim trailing whitespace +[*.{diff,patch}] +trim_trailing_whitespace = false