Set the repo up to have normalised line endings

pull/1/merge
Jak Daniels 2015-10-17 19:20:31 +01:00
parent 4a157786e9
commit 4b0854fcc1
1 changed files with 21 additions and 0 deletions

21
.gitattributes vendored Normal file
View File

@ -0,0 +1,21 @@
# Auto detect text files and perform LF normalization
* text=auto
*.cs text diff=csharp
*.java text diff=java
*.html text diff=html
*.css text
*.js text
*.sql text
*.csproj text merge=union
*.sln text merge=union eol=crlf
*.docx diff=astextplain
*.DOCX diff=astextplain
# absolute paths are ok, as are globs
/**/postinst* text eol=lf
# paths that don't start with / are treated relative to the .gitattributes folder
relative/path/*.txt text eol=lf