Skip to content

Commit 0e8ba5b

Browse files
committed
Fix line endings
1 parent 4cb37c9 commit 0e8ba5b

File tree

1 file changed

+59
-59
lines changed

1 file changed

+59
-59
lines changed

.gitattributes

Lines changed: 59 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,63 @@
1-
###############################################################################
2-
# Set default behavior to automatically normalize line endings.
3-
###############################################################################
1+
# Set the default behavior, in case people don't have core.autocrlf set.
42
* text=auto
53

6-
###############################################################################
7-
# Set default behavior for command prompt diff.
8-
#
9-
# This is need for earlier builds of msysgit that does not have it on by
10-
# default for csharp files.
11-
# Note: This is only used by command line
12-
###############################################################################
13-
#*.cs diff=csharp
4+
# Explicitly declare text files you want to always be normalized and converted
5+
# to LF line endings on checkout.
6+
*.afm text eol=lf
7+
*.cmap text eol=lf
8+
*.cs text eol=lf ident
9+
*.css text eol=lf
10+
*.htm text eol=lf
11+
*.html text eol=lf
12+
*.java text eol=lf ident
13+
*.lng text eol=lf
14+
*.md text eol=lf
15+
*.pom text eol=lf
16+
*.properties text eol=lf
17+
*.svg text eol=lf
18+
*.txt text eol=lf
19+
*.xfdf text eol=lf
20+
*.xht text eol=lf
21+
*.xhtml text eol=lf
22+
*.xml text eol=lf
23+
*.json text eol=lf
24+
port-hash text eol=lf
1425

15-
###############################################################################
16-
# Set the merge driver for project and solution files
17-
#
18-
# Merging from the command prompt will add diff markers to the files if there
19-
# are conflicts (Merging from VS is not affected by the settings below, in VS
20-
# the diff markers are never inserted). Diff markers may cause the following
21-
# file extensions to fail to load in VS. An alternative would be to treat
22-
# these files as binary and thus will always conflict and require user
23-
# intervention with every merge. To do so, just uncomment the entries below
24-
###############################################################################
25-
#*.sln merge=binary
26-
#*.csproj merge=binary
27-
#*.vbproj merge=binary
28-
#*.vcxproj merge=binary
29-
#*.vcproj merge=binary
30-
#*.dbproj merge=binary
31-
#*.fsproj merge=binary
32-
#*.lsproj merge=binary
33-
#*.wixproj merge=binary
34-
#*.modelproj merge=binary
35-
#*.sqlproj merge=binary
36-
#*.wwaproj merge=binary
26+
# Declare files that will always have CRLF line endings on checkout.
27+
*.bat text eol=crlf
28+
*.csproj text eol=crlf
29+
*.sln text eol=crlf
3730

38-
###############################################################################
39-
# behavior for image files
40-
#
41-
# image files are treated as binary by default.
42-
###############################################################################
43-
#*.jpg binary
44-
#*.png binary
45-
#*.gif binary
46-
47-
###############################################################################
48-
# diff behavior for common document formats
49-
#
50-
# Convert binary document formats to text before diffing them. This feature
51-
# is only available from the command line. Turn it on by uncommenting the
52-
# entries below.
53-
###############################################################################
54-
#*.doc diff=astextplain
55-
#*.DOC diff=astextplain
56-
#*.docx diff=astextplain
57-
#*.DOCX diff=astextplain
58-
#*.dot diff=astextplain
59-
#*.DOT diff=astextplain
60-
#*.pdf diff=astextplain
61-
#*.PDF diff=astextplain
62-
#*.rtf diff=astextplain
63-
#*.RTF diff=astextplain
31+
# Denote all files that are truly binary and should not be modified.
32+
*.aif binary
33+
*.aiff binary
34+
*.bmp binary
35+
*.cer binary
36+
*.cmp binary
37+
*.crt binary
38+
*.dib binary
39+
*.gif binary
40+
*.icc binary
41+
*.j2k binary
42+
*.jb2 binary
43+
*.jp2 binary
44+
*.jpc binary
45+
*.jpg binary
46+
*.key binary
47+
*.otf binary
48+
*.p12 binary
49+
*.pdf binary
50+
*.pfb binary
51+
*.pfm binary
52+
*.png binary
53+
*.snd binary
54+
*.tif binary
55+
*.tiff binary
56+
*.ttc binary
57+
*.ttf binary
58+
*.u3d binary
59+
*.wav binary
60+
*.wmf binary
61+
*.woff binary
62+
*.woff2 binary
63+
*.dat binary

0 commit comments

Comments
 (0)