Skip to content

Commit 8d067cd

Browse files
committed
CRLF / gitattributes
1 parent 3aad31a commit 8d067cd

File tree

1 file changed

+189
-76
lines changed

1 file changed

+189
-76
lines changed

.gitattributes

+189-76
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,189 @@
1-
# Macros:
2-
[attr]tabs whitespace=trailing-space,space-before-tab,indent-with-non-tab,tabwidth=4
3-
[attr]spaces whitespace=trailing-space,space-before-tab,tabs-in-indent
4-
[attr]makefile whitespace=trailing-space,space-before-tab,indent-with-non-tab,tabwidth=8
5-
6-
# Source files:
7-
* text=auto
8-
Make* makefile
9-
*.mk makefile
10-
*.make makefile
11-
*.[chm] tabs
12-
*.java tabs
13-
*.xml tabs
14-
*.props spaces
15-
*.targets spaces
16-
*.vcxproj spaces
17-
*.vcxproj.filters spaces
18-
bin2coff.xml spaces
19-
20-
# Documentation files:
21-
*.txt spaces
22-
23-
# Legacy source files:
24-
memento.* spaces
25-
source/tools/extract_text.c spaces
26-
27-
# Generated source files:
28-
source/html/css-properties.h spaces
29-
30-
# iOS project files:
31-
*.xib spaces
32-
*.xcscheme spaces
33-
*.json spaces
34-
35-
# CRLF vs LF-only
36-
*.bat text eol=crlf
37-
*.c text eol=lf
38-
*.cpp text eol=lf
39-
*.csproj text eol=lf
40-
*.css text eol=lf
41-
*.ejs text eol=lf
42-
*.h text eol=lf
43-
*.html text eol=lf
44-
*.inc text eol=lf
45-
*.ini text eol=lf
46-
*.jison text eol=lf
47-
*.jisonlex text eol=lf
48-
*.js text eol=lf
49-
*.json text eol=lf
50-
*.json5 text eol=lf
51-
*.l text eol=lf
52-
*.less text eol=lf
53-
*.lex text eol=lf
54-
*.markdown text eol=lf
55-
*.md text eol=lf
56-
*.php text eol=lf
57-
*.sass text eol=lf
58-
*.sed text eol=lf
59-
*.sh text eol=lf
60-
*.sln text eol=lf
61-
*.src text eol=lf
62-
*.txt text eol=lf
63-
*.vcxproj text eol=lf
64-
*.vue text eol=lf
65-
*.xaml text eol=lf
66-
*.xml text eol=lf
67-
*.y text eol=lf
68-
*.yacc text eol=lf
69-
*.yaml text eol=lf
70-
*.yml text eol=lf
71-
72-
*.pdf binary
73-
*.psd binary
74-
*.pptx binary
75-
*.xlsx binary
76-
1+
# Macros:
2+
[attr]tabs whitespace=trailing-space,space-before-tab,indent-with-non-tab,tabwidth=4
3+
[attr]spaces whitespace=trailing-space,space-before-tab,tabs-in-indent
4+
[attr]makefile whitespace=trailing-space,space-before-tab,indent-with-non-tab,tabwidth=8
5+
6+
# Source files:
7+
* text=auto
8+
Make* makefile eol=lf
9+
*.mk makefile eol=lf
10+
*.make makefile eol=lf
11+
*.props spaces
12+
*.targets spaces
13+
*.vcxproj spaces
14+
*.vcxproj.filters spaces
15+
bin2coff.xml spaces
16+
17+
# Documentation files:
18+
*.txt spaces
19+
20+
# Legacy source files:
21+
memento.* spaces
22+
source/tools/extract_text.c spaces
23+
24+
# Generated source files:
25+
source/html/css-properties.h spaces
26+
27+
# iOS project files:
28+
*.xib spaces
29+
*.xcscheme spaces
30+
*.json spaces
31+
32+
# CRLF vs LF-only
33+
*.ac text eol=lf
34+
*.am text eol=lf
35+
*.asm text eol=lf
36+
*.autopkg text eol=lf
37+
*.bat text eol=crlf
38+
*.bbk text eol=lf
39+
*.bsh text eol=lf
40+
*.c text eol=lf
41+
*.cc text eol=lf
42+
*.cfg text eol=lf
43+
*.cgi text eol=lf
44+
*.classpath text eol=lf
45+
*.cmake text eol=lf
46+
*.cmd text eol=crlf
47+
*.cpp text eol=lf
48+
*.cproject text eol=lf
49+
*.csh text eol=lf
50+
*.csproj text eol=crlf
51+
*.css text eol=lf
52+
*.csv text eol=lf
53+
*.cxx text eol=lf
54+
*.dbproj text eol=crlf
55+
*.def text eol=lf
56+
*.dot text eol=lf
57+
*.dsp text eol=crlf
58+
*.dsw text eol=crlf
59+
*.dtd text eol=lf
60+
*.ejs text eol=lf
61+
*.eps text eol=lf
62+
*.filter text eol=crlf
63+
*.filters text eol=crlf
64+
*.fsproj text eol=crlf
65+
*.gitattributes text eol=lf
66+
*.gradle text eol=lf
67+
*.h text eol=lf
68+
*.hh text eol=lf
69+
*.hpp text eol=lf
70+
*.htm text eol=lf
71+
*.html text eol=lf
72+
*.i text eol=lf
73+
*.in text eol=lf
74+
*.inc text eol=lf
75+
*.ini text eol=lf
76+
*.ipp text eol=lf
77+
*.iss text eol=lf
78+
*.jam text eol=lf
79+
*.java text eol=lf
80+
*.jison text eol=lf
81+
*.jisonlex text eol=lf
82+
*.js text eol=lf
83+
*.json text eol=lf
84+
*.json5 text eol=lf
85+
*.l text eol=lf
86+
*.latex text eol=lf
87+
*.less text eol=lf
88+
*.lex text eol=lf
89+
*.log text eol=lf
90+
*.lst text eol=lf
91+
*.mak text eol=lf
92+
*.markdown text eol=lf
93+
*.md text eol=lf
94+
*.mk text eol=lf
95+
*.patch text eol=lf
96+
*.pbxproj text eol=crlf
97+
*.php text eol=lf
98+
*.pl text eol=lf
99+
*.pm text eol=lf
100+
*.project text eol=lf
101+
*.properties text eol=lf
102+
*.props text eol=crlf
103+
*.ps text eol=lf
104+
*.ps1 text eol=lf
105+
*.py text eol=lf
106+
*.qbk text eol=lf
107+
*.rb text eol=lf
108+
*.rc text eol=lf
109+
*.rss text eol=lf
110+
*.rst text eol=lf
111+
*.rtf text eol=lf
112+
*.sass text eol=lf
113+
*.scss text eol=lf
114+
*.sed text eol=lf
115+
*.sh text eol=lf
116+
*.sln text eol=crlf
117+
*.sql text eol=lf
118+
*.src text eol=lf
119+
*.strings text eol=lf
120+
*.svg text eol=lf
121+
*.swg text eol=lf
122+
*.tex text eol=lf
123+
*.tpp text eol=lf
124+
*.txt text eol=lf
125+
*.vbproj text eol=crlf
126+
*.vcproj text eol=crlf
127+
*.vcxproj text eol=crlf
128+
*.vcxproj.filters text eol=crlf
129+
*.vsprops text eol=crlf
130+
*.vue text eol=lf
131+
*.xaml text eol=lf
132+
*.xhtml text eol=lf
133+
*.xml text eol=lf
134+
*.xsd text eol=lf
135+
*.xsl text eol=lf
136+
*.xslt text eol=lf
137+
*.xul text eol=lf
138+
*.y text eol=lf
139+
*.yacc text eol=lf
140+
*.yaml text eol=lf
141+
*.yml text eol=lf
142+
.htaccess text eol=lf
143+
boost-no-inspect text eol=lf
144+
CHANGES text eol=lf
145+
configure text eol=lf
146+
COPYING text eol=lf
147+
Dockerfile text eol=lf
148+
INSTALL text eol=lf
149+
Jamfile text eol=lf
150+
Jamfile.v2 text eol=lf
151+
Jamroot text eol=lf
152+
Jamrules text eol=lf
153+
README text eol=lf
154+
TODO text eol=lf
155+
156+
157+
*.avi binary
158+
*.bmp binary
159+
*.doc binary
160+
*.gif binary
161+
*.gz binary
162+
*.ico binary
163+
*.jpeg binary
164+
*.jpg binary
165+
*.mov binary
166+
*.mp3 binary
167+
*.odt binary
168+
*.pbm binary
169+
*.pdf binary
170+
*.pgm binary
171+
*.png binary
172+
*.pnm binary
173+
*.ppm binary
174+
*.ppt binary
175+
*.pptx binary
176+
*.psd binary
177+
*.raw binary
178+
*.spir binary
179+
*.swf binary
180+
*.tga binary
181+
*.tgz binary
182+
*.tif binary
183+
*.tiff binary
184+
*.wav binary
185+
*.xls binary
186+
*.xlsx binary
187+
*.zip binary
188+
.* icns binary
189+

0 commit comments

Comments
 (0)