From 9f5e8d12f05fb24c915a5266a1e908a75c8aed08 Mon Sep 17 00:00:00 2001 From: Thibault "bui" Koechlin Date: Thu, 28 Dec 2017 17:04:06 +0100 Subject: Clang-format pass - `clang-format --style="{BasedOnStyle: google, SortIncludes: false}" -i snuffleu*.c sp_*.c sp_*.h` - Update the documentation accordingly--- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CONTRIBUTING.md') diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 34cfd02..f8e8f37 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -58,7 +58,7 @@ launching it, in order to run the failing test inside GDB. Your patch should follow the same conventions & pass the same code quality checks as the rest of the project. We're using [clang-format](http://clang.llvm.org/docs/ClangFormat.html) to -ensure a consistent code-style. Please run it with `clang-format -style=google` +ensure a consistent code-style. Please run it with `clang-format --style="{BasedOnStyle: google, SortIncludes: false}"` before committing, or even better, use a [pre-commit hook](https://github.com/andrewseidl/githook-clang-format). ### 6. Make a Pull Request -- cgit v1.3