From 7bca176beaf4dcae2263eeabee82fd7b6412654b Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Wed, 18 Sep 2019 23:37:04 +0300 Subject: [build] Ignore submodules when formatting code We have submodules with names that will match *.hpp and we are not really interested on formatting them. --- circle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'circle.yml') diff --git a/circle.yml b/circle.yml index 2d1e7e3f73..391ad7c3f5 100644 --- a/circle.yml +++ b/circle.yml @@ -722,7 +722,7 @@ jobs: - run: name: Clang Format command: | - git diff -U0 --no-color origin/master... *.cpp *.hpp | clang-format-diff-8 -p1 -i + git diff -U0 --ignore-submodules=all --no-color origin/master... *.cpp *.hpp | clang-format-diff-8 -p1 -i git diff --exit-code - run: name: Code Generators -- cgit v1.2.1