Skip to content
Commit 4a6ff948 authored by Wen Ping Teh's avatar Wen Ping Teh
Browse files

tools/check_copyright: Return true if no changed file is detected



An edge case may happen when a patch only have renamed files and the
check_copyright.py script return error because there are no changed
files to check. This patch updates the script's run() return value
based on the following condition
-Return true if no changed file is detected.
-Return false if git command fail.

Signed-off-by: Wen Ping Teh's avatarWen Ping Teh <wenping.teh@arm.com>
Change-Id: Ie4ead662b5c51b53f4dff0a3742e8c8cfefb2577
parent 9b7d6f07
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment