Skip to content

Commit 396d7ea

Browse files
Mark several known binary extensions as -text
1 parent 1f36f55 commit 396d7ea

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,10 @@
3939
*.py text
4040
*.lua text
4141
*.expected text
42+
43+
# Explicitly set a bunch of known extensions to binary, because Git < 2.10 will treat
44+
# `* text=auto eol=lf` as `* text eol=lf`
45+
*.png -text
46+
*.jpg -text
47+
*.jpeg -text
48+
*.gif -text

0 commit comments

Comments
 (0)