From 82c469fc69506ff7bc8df8a4d0a15572507b5a21 Mon Sep 17 00:00:00 2001 From: Mikhail Goncharov Date: Tue, 21 Jan 2020 15:44:35 +0100 Subject: [PATCH] Use default style for clang-format It correctly picks up .clang-format settings. For issue #92 and related. --- scripts/lint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lint.sh b/scripts/lint.sh index b62f0d3..7618d4a 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -22,7 +22,7 @@ echo "Running linters... =====================================" cd "${WORKSPACE}" # Let clang format apply patches --diff doesn't produces results in the format we want. -git-clang-format --style=llvm +git-clang-format set +e git diff -U0 --exit-code > "${TARGET_DIR}"/clang-format.patch STATUS="${PIPESTATUS[0]}"