Skip to content
Commit 2184b7ef authored by Richard Neill's avatar Richard Neill Committed by Diego Sueiro
Browse files

tools/qa-checks: Consider latest git commit for matching file's copyright year



When determining the validity of the copyright year as stated in a file's
header, the header check now considers the date of the latest git commit that
modified that file. If the file has local changes that have yet to be
committed, or is not yet tracked by git at all, then the check continues to use
the file's latest modification date as given by the local filesystem.

Issue-Id: SCM-3910
Signed-off-by: Richard Neill's avatarRichard Neill <richard.neill@arm.com>
Signed-off-by: Diego Sueiro's avatarDiego Sueiro <diego.sueiro@arm.com>
Change-Id: Icf6dd7ed9c3583975b4ff74db40e6b922fed6a3c
parent 72b86f16
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