summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-01-06 17:26:04 -0500
committerNed Batchelder <ned@nedbatchelder.com>2019-01-06 17:26:04 -0500
commite6471983514f69b1322c1f3e4e8f4de545cc37fe (patch)
treea4b5506a4432dd852d37f83fae30dc4ac9dcf2ac /.editorconfig
parent0694ee9cd33a75e28862234eca1ac3005f54882b (diff)
downloadpython-coveragepy-git-e6471983514f69b1322c1f3e4e8f4de545cc37fe.tar.gz
Sometime git needs trailing spaces for diffs to work properly
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index 0cddf081..f560af74 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -36,3 +36,9 @@ indent_size = 8
[*,cover]
trim_trailing_whitespace = false
+
+[*.diff]
+trim_trailing_whitespace = false
+
+[.git/*]
+trim_trailing_whitespace = false