Skip to content

Commit 3243a08

Browse files
Explicit eol=lf for source code
Turn off weird automatic line ending conversion
1 parent fd85a23 commit 3243a08

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.gitattributes

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
* text=auto
1+
* text=auto eol=lf
22

33
assetbundle binary
44
scenes binary
@@ -10,3 +10,14 @@ level* binary
1010
*.fbx binary
1111
*.tif binary
1212
*.jpg binary
13+
14+
15+
# vs can handle these as lf, but really wants them as crlf
16+
*.vcproj eol=crlf
17+
*.vcxproj eol=crlf
18+
*.vcxproj.filters eol=crlf
19+
*.csproj eol=crlf
20+
*.props eol=crlf
21+
*.targets eol=crlf
22+
*.sln eol=crlf
23+
*.sln.template eol=crlf

0 commit comments

Comments
 (0)