mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-15 00:54:22 +00:00
Merge "fix(checkpatch): detect issues in commit message" into integration
This commit is contained in:
commit
97a9c7ab9e
1 changed files with 4 additions and 5 deletions
9
Makefile
9
Makefile
|
@ -1668,11 +1668,10 @@ checkpatch: locate-checkpatch
|
|||
for commit in `git rev-list --no-merges $$COMMON_COMMIT..HEAD`; \
|
||||
do \
|
||||
printf "\n[*] Checking style of '$$commit'\n\n"; \
|
||||
git log --format=email "$$commit~..$$commit" \
|
||||
-- ${CHECK_PATHS} | \
|
||||
${CHECKPATCH} ${CHECKPATCH_OPTS} - || true; \
|
||||
git diff --format=email "$$commit~..$$commit" \
|
||||
-- ${CHECK_PATHS} | \
|
||||
( git log --format=email "$$commit~..$$commit" \
|
||||
-- ${CHECK_PATHS} ; \
|
||||
git diff --format=email "$$commit~..$$commit" \
|
||||
-- ${CHECK_PATHS}; ) | \
|
||||
${CHECKPATCH} ${CHECKPATCH_OPTS} - || true; \
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue