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 <richard.neill@arm.com> Signed-off-by:
Diego Sueiro <diego.sueiro@arm.com> Change-Id: Icf6dd7ed9c3583975b4ff74db40e6b922fed6a3c
Loading
Please register or sign in to comment