Check added files have current year in license header
Changed the hook to return a list of errors in the course of the change.
It will be helpful for users to find as many errors in a single run of
TEST=tried to add new file with wrong year and checked linter complains.
Tested-by: Keigo Oka <email@example.com>
Commit-Ready: Keigo Oka <firstname.lastname@example.org>
Legacy-Commit-Queue: Commit Bot <email@example.com>
Reviewed-by: Mike Frysinger <firstname.lastname@example.org>
2 files changed