From 6d4e693eb216a9ee55bb47580f379194b8ae8c53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Ulsberg?= Date: Fri, 20 Feb 2015 10:27:34 +0100 Subject: [PATCH] Added git attributes for forced EOL handling across all platforms. --- .gitattributes | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..60ade2ff --- /dev/null +++ b/.gitattributes @@ -0,0 +1,57 @@ +* text=auto + +# Custom for Visual Studio +*.cs diff=csharp + +# Normalise endings to CRLF +*.cs eol=crlf +*.xml eol=crlf +*.xaml eol=crlf +*.xsl eol=crlf +*.xsd eol=crlf +*.cshtml eol=crlf +*.css eol=crlf +*.js eol=crlf +*.txt eol=crlf +*.config eol=crlf +*.sql eol=crlf +*.sln eol=crlf +*.csproj eol=crlf +*.vbproj eol=crlf +*.fsproj eol=crlf +*.dbproj eol=crlf +*.nunit eol=crlf +*.html eol=crlf +*.md eol=crlf +*.proj eol=crlf +*.bat eol=crlf +*.cmd eol=crlf +*.nuspec eol=crlf +*.targets eol=crlf +*.conf eol=crlf +*.manifest eol=crlf +*.ps1 eol=crlf +*.resx eol=crlf +*.asax eol=crlf +*.aspx eol=crlf +*.ncrunchproject eol=crlf +*.ncrunchsolution eol=crlf +*.msbuild eol=crlf +*.template eol=crlf +*.settings eol=crlf +*.java eol=crlf +.gitattributes eol=crlf +.classpath eol=crlf +.project eol=crlf + +# Standard to msysgit +*.doc diff=astextplain +*.DOC diff=astextplain +*.docx diff=astextplain +*.DOCX diff=astextplain +*.dot diff=astextplain +*.DOT diff=astextplain +*.pdf diff=astextplain +*.PDF diff=astextplain +*.rtf diff=astextplain +*.RTF diff=astextplain \ No newline at end of file