-
Notifications
You must be signed in to change notification settings - Fork 913
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
opts: rephrase wording for --all and -p #3914
Conversation
Thank you for the PR! LGTM. And @calebcartwright thank you for reviewing this. |
Is it expected that this change has not made it to current versions of
|
@topecongiro do you know where my commit went? https://github.com/rust-lang/rustfmt/blame/master/src/cargo-fmt/main.rs |
Expected, yes. Desired, no.
I need to find a way to explain this in one place to point back to since this pops up fairly frequently. There were previously exploratory plans for a major/breaking v2.0 of rustfmt, and that work was being developed on the default I decided that given the actual release train for rustfmt (and the fact that a breaking release would not be happening any time soon, if ever), that branching strategy no longer made sense. Accordingly not too terribly long ago we switched back to using the default/master branch to reflect the actual 1.x version of rustfmt that's been released, and the 2.0 experiment was moved to a new topic branch (refs #4801) You can see this reflected for the commit from this PR (c1ada05) which can be found on that 2.0 experiment branch, Ultimately we need to get such commits backported into the current mainline. Occasionally that's as easy as a non-conflicting cherry-pick, but in many cases the two versions of the codebase had diverged so much that it's rather difficult. Commits against the 2.0 version also have to be re-evaluated against stability concerns, since the 2.0 major version bump didn't have to worry about breaking formatting changes. |
Thanks for the explanation, it makes sense. Do you mind if I file another PR with the same change? It's trivial and it shouldn't hurt. I'll do that tomorrow. |
Absolutely, please and thank you 😄 There's a lot of work needed to get things backported so anything that helps with that is most appreciated |
Done in #4989 |
Tiny wording change as discussed in #3911.