aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2014-04-20 16:51:10 +0200
committerShauren <shauren.trinity@gmail.com>2014-04-20 16:51:10 +0200
commitfd6fcbb547a6f59d2037b5ab6dd9c4554309ebc9 (patch)
tree0eb409bee372eeada0791c0a73638a291c554576 /.gitattributes
parent0f5632c70eb11a10225279a7d2d8b511d0095d16 (diff)
Repository: Set line endings in .patch/.diff files to LF via .gitattributes
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index 9fa544d91af..15410b16b46 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -13,4 +13,5 @@
*.txt whitespace=trailing-space,space-before-tab,cr-at-eol
# special files which must ignore whitespace
-*.patch whitespace=-trailing-space
+*.patch whitespace=-trailing-space eol=lf
+*.diff whitespace=-trailing-space eol=lf