Skip to content

Commit

Permalink
Rollup merge of rust-lang#46539 - oli-obk:cargo_lock, r=alexcrichton
Browse files Browse the repository at this point in the history
Do not automatically merge `Cargo.lock`

It essentially never does what it's supposed to and often leaves the `Cargo.lock` in a state where it needs manual adjustments or resetting to master/yourbranch. With this setting git will always choose your `Cargo.lock` over the one from master and report a merge error (if both master and your branch touched `Cargo.lock`). Now you can run `./x.py help` and it should normally update the `Cargo.lock` to be one that has everything needed by master and your branch.
  • Loading branch information
GuillaumeGomez authored Dec 7, 2017
2 parents 1b7ea6d + 77faf79 commit 655303c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
src/etc/installer/gfx/* binary
*.woff binary
src/vendor/** -text
Cargo.lock -merge

0 comments on commit 655303c

Please sign in to comment.