Skip to content
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

Apply 'if-then-else=vertical' to ocamlformat #2200

Closed
wants to merge 1 commit into from

Conversation

gpetiot
Copy link
Collaborator

@gpetiot gpetiot commented Nov 3, 2022

ocamlformat will become the first project to adopt the future diff-friendly profile (#2020) before it's made available to other projects. Let's switch one option at a time to reduce the future diff.

@gpetiot gpetiot added the no changelog set this to bypass the CI check for changelog entries label Nov 3, 2022
@gpetiot gpetiot requested a review from Julow November 3, 2022 16:48
Copy link
Collaborator

@Julow Julow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's switch the profile at once. It's possible to ask git blame to ignore some commits (see in odoc), it's easier to keep track if there's fewer of them.

@gpetiot
Copy link
Collaborator Author

gpetiot commented Nov 4, 2022

Yes but we may have to modify 20 options to get the profile ready, I think it would be nice to benefit from these improvements as soon as we can on our own code.

@gpetiot
Copy link
Collaborator Author

gpetiot commented Nov 4, 2022

Alright let's wait to be able to apply the whole profile at once to reduce the noise.

@gpetiot gpetiot closed this Nov 4, 2022
@gpetiot gpetiot deleted the ocamlformat-ite-vertical branch November 4, 2022 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog set this to bypass the CI check for changelog entries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants