Skip to content

Commit

Permalink
Auto merge of rust-lang#134199 - RalfJung:gitmerge, r=oli-obk
Browse files Browse the repository at this point in the history
Revert "Stop git from merging generated files"

This reverts rust-lang#133851. "-merge" makes git not even do merges if they are entirely conflict-free, which is not the behavior we want. We sometimes have conflict-free merges in generated files and it's much better if git can handle them automatically.

r? `@oli-obk`
Cc `@jieyouxu` `@Urgau`
  • Loading branch information
bors committed Dec 12, 2024
2 parents 4606a4d + 4a60706 commit 8e37e15
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
*.cpp rust
*.h rust
*.rs rust diff=rust
*.fixed linguist-language=Rust -merge
*.mir linguist-language=Rust -merge
*.stderr -merge
*.stdout -merge
*.fixed linguist-language=Rust
*.mir linguist-language=Rust
src/etc/installer/gfx/* binary
src/vendor/** -text
Cargo.lock linguist-generated=false
Expand Down

0 comments on commit 8e37e15

Please sign in to comment.