-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add diff output to meson format --check-only #14504
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
base: master
Are you sure you want to change the base?
Add diff output to meson format --check-only #14504
Conversation
This all looks good and correct. I think the todo being fixed here asking for a verbose mode (or a quiet mode, I don't really care which) is a good one. So adding either a |
Good point, unfortunately |
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.
Thanks!
This looks good to me, it'll have to wait until we leave feature freeze for 1.8, but I've added it to the 1.9 milestone.
9a536b4
to
cc7186d
Compare
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.
Overall I really like the idea of this feature. That being said...
cc7186d
to
e60faac
Compare
This was to use the same syntax as Would it be better to add a |
e60faac
to
ad22acf
Compare
Sure, makes sense. Updated 🙂 |
ad22acf
to
7a80dd4
Compare
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.
LGTM. You should add a release snippet (just create a md file in docs/markdown/snippets) and update Commands.md page in the manual.
7a80dd4
to
b7e4d10
Compare
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.
Thank you!
Currently
meson format --check-only
exits without any output if it fails. This implements some simple diff output so the user knows why it failed 🙂Pretty simple change but I think it makes a huge DevEx improvement.