From: Lucas De Marchi Date: Sat, 8 Aug 2026 05:17:25 +0000 (-0500) Subject: CONTRIBUTING: mention ninja clang-format X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e5080eef02047c949139092b3a437ae6fea67d5e;p=thirdparty%2Fkmod.git CONTRIBUTING: mention ninja clang-format No additional tool needed, should be readily available. Link: https://github.com/kmod-project/kmod/pull/312 Signed-off-by: Lucas De Marchi --- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9163de0..3243a2c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -120,7 +120,9 @@ the in-tree [CODING-STYLE.md file](CODING-STYLE.md) for quick references. To ease and enforce the style a [.clang-format file](.clang-format) file is provided and ran in CI against all submissions. -Make sure to run `git-clang-format` before submitting PRs/patches. +Make sure to run `git-clang-format` before submitting PRs/patches. Since the +entire codebase is formatted by clang-format, `ninja -C build clang-format` +can also be used if git-clang-format is not available. ## API documentation