mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-22 23:39:50 +00:00
Apply clang-format-diff only to lib, src, examples and tests
This commit is contained in:
parent
4130c68db1
commit
d49bd50908
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user