• R/O
  • SSH
  • HTTPS

commitmonitor: Commit


Commit MetaInfo

Revision1181 (tree)
Time2021-01-01 05:32:40
Authorstefankueng

Log Message

update the checkyear.js script for 2021

Change Summary

Incremental Difference

--- trunk/tools/checkyear.js (revision 1180)
+++ trunk/tools/checkyear.js (revision 1181)
@@ -1,6 +1,6 @@
11 /* This script is a local pre-commit hook script.
22 * It's used to check whether the copyright year of modified files has been
3- * bumped up to the current (2015) year.
3+ * bumped up to the current year.
44 *
55 * Only *.cpp, *.h and *.idl files are checked
66 *
@@ -19,7 +19,7 @@
1919 WScript.Quit(1);
2020 }
2121
22-var re = /^\/\/ Copyright.+(2019)(.*)/;
22+var re = /^\/\/ Copyright.+(2021)(.*)/;
2323 var basere = /^\/\/ Copyright(.*)/;
2424 var filere = /(\.cpp$)|(\.h$)|(\.idl$)/;
2525
Show on old repository browser