Skip to content

Commit 278878d

Browse files
committed
Add gitattributes file to enforce LF, etc.
1 parent 7de6b2e commit 278878d

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.gitattributes

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Source files - keep them lf
5+
*.cs eol=lf
6+
7+
# Custom for Visual Studio
8+
*.cs diff=csharp
9+
*.sln merge=union
10+
*.csproj merge=union
11+
*.vbproj merge=union
12+
*.fsproj merge=union
13+
*.dbproj merge=union
14+
15+
# Standard to msysgit
16+
*.doc diff=astextplain
17+
*.DOC diff=astextplain
18+
*.docx diff=astextplain
19+
*.DOCX diff=astextplain
20+
*.dot diff=astextplain
21+
*.DOT diff=astextplain
22+
*.pdf diff=astextplain
23+
*.PDF diff=astextplain
24+
*.rtf diff=astextplain
25+
*.RTF diff=astextplain
26+
27+
# cmake launcher templates
28+
*.cmd.in text eol=crlf
29+
*vcproj.user.in text eol=crlf
30+
*vcxproj.user.in text eol=crlf

0 commit comments

Comments
 (0)