Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Added git attributes for forced EOL handling across all platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
asbjornu committed Feb 20, 2015
1 parent d7253a5 commit 6d4e693
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions .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

0 comments on commit 6d4e693

Please sign in to comment.