-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add git precommit with clang-format #660
Closed
Comments
There are two possibilities, either write the hook from scratch, or use one of the hook frameworks |
https://github.com/pre-commit/pre-commit only works on the file-level, that is, check succeeds only if the whole file is properly formatted. What we want (for now) is to only check formatting of the changed lines. |
jiridanek
added a commit
to jiridanek/skupper-router
that referenced
this issue
Aug 5, 2022
jiridanek
added a commit
that referenced
this issue
Aug 5, 2022
jiridanek
added a commit
to jiridanek/skupper-router
that referenced
this issue
Aug 5, 2022
jiridanek
added a commit
to jiridanek/skupper-router
that referenced
this issue
Aug 5, 2022
jiridanek
added a commit
to jiridanek/skupper-router
that referenced
this issue
Aug 5, 2022
jiridanek
added a commit
that referenced
this issue
Aug 5, 2022
jiridanek
added a commit
that referenced
this issue
Sep 1, 2022
jiridanek
added a commit
to jiridanek/skupper-router
that referenced
this issue
Oct 27, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This follows up to
clang-format
work: config file andgit-clang-format
instructions #504The text was updated successfully, but these errors were encountered: