Commit d49bd509 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Apply clang-format-diff only to lib, src, examples and tests

parent 4130c68d
......@@ -12,7 +12,7 @@ if [ -z "$CLANGFORMATDIFF" ]; then
CLANGFORMATDIFF=clang-format-diff.py
fi
errors=`git diff-index --cached --diff-filter=ACMR -p HEAD -- | $CLANGFORMATDIFF -p1`
errors=`git diff-index --cached --diff-filter=ACMR -p HEAD lib src examples tests | $CLANGFORMATDIFF -p1`
if [ -n "$errors" ]; then
echo "$errors"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment