Skip to content

Improve slightly the pre-commit git hook usage of the auto-format helper #117326

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

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

joker-eph
Copy link
Collaborator

The default mode does not provide a way to see the actual failure of the formatters without modifying the code. Instead offer the user the option to rerun with a FORMAT_HOOK_VERBOSE=1 environment variable to print the actual formatting diff.

The default mode does not provide a way to see the actual failure of the
formatters without modifying the code. Instead offer the user the option
to rerun with a `FORMAT_HOOK_VERBOSE=1` environment variable to print the
actual formatting diff.
@joker-eph joker-eph requested a review from tru November 22, 2024 14:03
@joker-eph joker-eph merged commit c4aa838 into llvm:main Nov 22, 2024
6 of 9 checks passed
@joker-eph joker-eph deleted the format-hook branch November 22, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants