ignore images line ending on older git versions · rust-lang/rust@645b7c2 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit 645b7c2
ignore images 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 commit adds an attribute to those files to properly mark them as binary.
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -9,3 +9,7 @@ src/etc/installer/gfx/* binary | ||
9 | 9 | *.woff binary |
10 | 10 | src/vendor/** -text |
11 | 11 | 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 |