• R/O
  • SSH
  • HTTPS

commitmonitor: 提交


Commit MetaInfo

修订版1181 (tree)
时间2021-01-01 05:32:40
作者stefankueng

Log Message

update the checkyear.js script for 2021

更改概述

差异

--- 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