-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix gitattibutes for old git versions #83208
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
Duplicate of #83162. |
Yes but this one has the changes that @joshtriplett requested |
.gitattributes
Outdated
@@ -7,10 +7,11 @@ | |||
*.fixed linguist-language=Rust | |||
*.mir linguist-language=Rust | |||
src/etc/installer/gfx/* binary | |||
*.woff binary | |||
src/vendor/** -text | |||
Cargo.lock linguist-generated=false | |||
|
|||
# Older git versions try to fix line endings on images, this prevents it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd be good to tweak the message to include both, as per #83162 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You think “images” doesn't describe WOFF?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, would you call a .woff file an "image" in a regular conversation? I think interpreting it an image is as technically correct and helpful as interpreting a text file as a "binary" file, which doesn't really help here. I'm just trying to avoid the shoehorning here.
☔ The latest upstream changes (presumably #83199) made this pull request unmergeable. Please resolve the merge conflicts. |
📌 Commit b1de9d4 has been approved by |
Fix gitattibutes for old git versions
Fix gitattibutes for old git versions
Fix gitattibutes for old git versions
Fix gitattibutes for old git versions
Fix gitattibutes for old git versions
Fix gitattibutes for old git versions
Rollup of 11 pull requests Successful merges: - rust-lang#82500 (Reuse `std::sys::unsupported::pipe` on `hermit`) - rust-lang#82759 (Remove unwrap_none/expect_none from compiler/.) - rust-lang#82846 (rustdoc: allow list syntax for #[doc(alias)] attributes) - rust-lang#82892 (Clarify docs for Read::read's return value) - rust-lang#83179 (Extend `proc_macro_back_compat` lint to `actix-web`) - rust-lang#83197 (Move some test-only code to test files) - rust-lang#83208 (Fix gitattibutes for old git versions) - rust-lang#83215 (Deprecate std::os::haiku::raw, which accidentally wasn't deprecated) - rust-lang#83230 (Remove unnecessary `forward_inner_docs` hack) - rust-lang#83236 (Upgrade memmap to memmap2) - rust-lang#83270 (Fix typo/inaccuracy in the documentation of Iterator::skip_while) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
No description provided.