Skip to content

Commit 4f0c67d

Browse files
committed
feat(app): fix .gitattributes
[skip-ci] closes #1509, #1382
1 parent 8f99a8f commit 4f0c67d

File tree

1 file changed

+40
-4
lines changed

1 file changed

+40
-4
lines changed

Diff for: app/templates/.gitattributes

+40-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,43 @@
1-
* text eol=lf
1+
* text=auto
2+
3+
# These files are text and should be normalized (Convert crlf => lf)
4+
*.php text
5+
*.css text
6+
*.js text
7+
*.htm text
8+
*.html text
9+
*.xml text
10+
*.txt text
11+
*.ini text
12+
*.inc text
13+
.htaccess text
214

315
# Denote all files that are truly binary and should not be modified.
4-
*.png binary
5-
*.gif binary
6-
*.jpg binary
16+
# (binary is a macro for -text -diff)
17+
*.png binary
18+
*.jpg binary
719
*.jpeg binary
20+
*.gif binary
21+
*.ico binary
22+
*.mov binary
23+
*.mp4 binary
24+
*.mp3 binary
25+
*.flv binary
26+
*.fla binary
27+
*.swf binary
28+
*.gz binary
29+
*.zip binary
30+
*.7z binary
31+
*.ttf binary
32+
33+
# Documents
34+
*.doc diff=astextplain
35+
*.DOC diff=astextplain
36+
*.docx diff=astextplain
37+
*.DOCX diff=astextplain
38+
*.dot diff=astextplain
39+
*.DOT diff=astextplain
40+
*.pdf diff=astextplain
41+
*.PDF diff=astextplain
42+
*.rtf diff=astextplain
43+
*.RTF diff=astextplain

0 commit comments

Comments
 (0)