Fork 0

docs: Add info about different clang-format versions

Make this clear to new users. Since sjaeckel had reservations
on https://github.com/profanity-im/profanity/pull/1828.
Michael Vetter 2023-04-15 11:50:57 +02:00
parent 6eacfcb96e
commit 951df64a43
1 changed files with 2 additions and 0 deletions

View File

@ -95,6 +95,8 @@ what may have been staged/committed.
If you're in a hurry you can add the `--no-verify` flag when issuing `git push`
and the `pre-push` hook will be skipped.
*Note:* We provide a config file that describes our coding style for clang. But due to a mistake on their side it might happen that you can get a different result that what we expect. See [here](https://github.com/profanity-im/profanity/pull/1774) and [here](https://github.com/profanity-im/profanity/pull/1828) for details. We will try to always run latest clang-format.
## Finding mistakes
Test your changes with the following tools to find mistakes.