From fd6fcbb547a6f59d2037b5ab6dd9c4554309ebc9 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 20 Apr 2014 16:51:10 +0200 Subject: Repository: Set line endings in .patch/.diff files to LF via .gitattributes --- .gitattributes | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.gitattributes') 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 -- cgit v1.2.3