Skip to content

Commit e90cdfd

Browse files
authored
Rollup merge of #57858 - pietroalbini:ignore-eol-images, r=GuillaumeGomez
Ignore line ending on older git versions On Ubuntu 16.04 git 2.7.4 tries to fix the line ending of `.png` and `.ico` files, and obviously it ruins them. This PR adds an attribute to those files to ignore which line ending they use. r? @GuillaumeGomez
2 parents 8624485 + 645b7c2 commit e90cdfd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ src/etc/installer/gfx/* binary
99
*.woff binary
1010
src/vendor/** -text
1111
Cargo.lock -merge linguist-generated=false
12+
13+
# Older git versions try to fix line endings on images, this prevents it.
14+
*.png binary
15+
*.ico binary

0 commit comments

Comments
 (0)