diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-02-16 11:44:18 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-02-16 11:44:48 +0100 |
commit | b8d9058a4d1ce28eefa65aa3339bcc52b3c014e9 (patch) | |
tree | 6a8e0611ff2ca8782c4d9bfcad82fde8d473b1f5 /contrib/devtools/README.md | |
parent | 25d816110ba28c5014b23c9a363c472fc28a3891 (diff) | |
parent | 57702541a2009d4b936ebfddeeec3db7f8f74e5c (diff) | |
download | bitcoin-b8d9058a4d1ce28eefa65aa3339bcc52b3c014e9.tar.xz |
Merge pull request #3646
5770254 Copyright header updates s/2013/2014 on files whose last git commit was done in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does. (gubatron)
Diffstat (limited to 'contrib/devtools/README.md')
-rw-r--r-- | contrib/devtools/README.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/devtools/README.md b/contrib/devtools/README.md index 55d5d24cca..f0d25fd7a2 100644 --- a/contrib/devtools/README.md +++ b/contrib/devtools/README.md @@ -36,3 +36,14 @@ Configuring the github-merge tool for the bitcoin repository is done in the foll git config githubmerge.testcmd "make -j4 check" (adapt to whatever you want to use for testing) git config --global user.signingkey mykeyid (if you want to GPG sign) +## fix-copyright-headers.py + +Every year newly updated files need to have its copyright headers updated to reflect the current year. +If you run this script from src/ it will automatically update the year on the copyright header for all +.cpp and .h files if these have a git commit from the current year. + +For example a file changed in 2014 (with 2014 being the current year): +```// Copyright (c) 2009-2013 The Bitcoin developers``` + +would be changed to: +```// Copyright (c) 2009-2014 The Bitcoin developers```
\ No newline at end of file |