No .clang-format file in repo
The repo lacks a clang format file, so every time I commit, I see this message:
git commit --amend
ERROR: no .clang-format file found in repository root, abort format
Make sure the KDEClangFormat CMake module is included, which will copy the KDE .clang-format file during the CMake configuration.
Alternatively you can manually copy a .clang-format file to the repository root directory.`
It can be worked around by passing -n
to git commit
, but this is a hidden workaround that should not be necessary