Set the repo up to have normalised line endings
parent
4a157786e9
commit
4b0854fcc1
|
@ -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
|
Loading…
Reference in New Issue