-
Couldn't load subscription status.
- Fork 13.9k
Do not automatically merge Cargo.lock
#46539
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
Conversation
|
(rust_highfive has picked a reviewer for you, use r? to override) |
|
This sounds reasonable to me but @alexcrichton is the expert here. |
|
@bors: r+ whoa, what a fantastic idea! This'll make merges so much easier |
|
📌 Commit 77faf79 has been approved by |
|
Yeah, I think this is fine. @bors rollup though since it really shouldn't conflict with anyone. |
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.
This commit backs out rust-lang#46539 in order to fully leverage rust-lang#63579 where `git` should be able to merge `Cargo.lock` nowadays with only minimal conflicts.
…rk-Simulacrum Allow git to merge `Cargo.lock` This commit backs out rust-lang#46539 in order to fully leverage rust-lang#63579 where `git` should be able to merge `Cargo.lock` nowadays with only minimal conflicts.
It essentially never does what it's supposed to and often leaves the
Cargo.lockin a state where it needs manual adjustments or resetting to master/yourbranch. With this setting git will always choose yourCargo.lockover the one from master and report a merge error (if both master and your branch touchedCargo.lock). Now you can run./x.py helpand it should normally update theCargo.lockto be one that has everything needed by master and your branch.