diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-11-01 13:58:27 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-11-08 14:51:42 +0100 |
commit | 1f73138ce1272ea52c9b0119f5ef67aed28af836 (patch) | |
tree | d2730e72fdcef253fbf02dd1220a88b02a63d50b /tests/nroff-scan.pl | |
parent | 0bc60d91de0eda5d1c7ec8033a75980f81a33a59 (diff) |
checksrc: repair the copyrightyear check
- Consider a modified file to be committed this year.
- Make the travis CHECKSRC also do COPYRIGHTYEAR scan in examples and
includes
- Ignore 0 parents when getting latest commit date of file.
since in the CI we're dealing with a truncated repo of last 50 commits,
the file's most recent commit may not be available. when this happens
git log and rev-list show the initial commit (ie first commit not to be
truncated) but that's incorrect so ignore it.
Ref: https://github.com/curl/curl/pull/4547
Closes https://github.com/curl/curl/pull/4549
Co-authored-by: Jay Satiro
Diffstat (limited to 'tests/nroff-scan.pl')
0 files changed, 0 insertions, 0 deletions