diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-01-23 22:17:26 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-01-23 22:17:26 +0400 |
commit | ab3d4951055715b1a7a9bd3e313ffb173e656c66 (patch) | |
tree | 79cb6629507f90b7c063a459310d1f7293b67147 /contrib | |
parent | 34380b3ecb34c75f6234ceb469d5f88f6bfebf29 (diff) |
checkyear.sh: mention the exact cp command
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/checkyear.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/checkyear.sh b/contrib/checkyear.sh index 10db8d45b..216bd8121 100644 --- a/contrib/checkyear.sh +++ b/contrib/checkyear.sh @@ -17,11 +17,12 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. - # pre-commit hook to check if all changed and added files # have the current year as copyright information. # to enable the hook, copy this file to .git/hooks/pre-commit (no extension) +# or run this while in the repo root: +# cp contrib/checkyear.sh .git/hooks/pre-commit year=$(date +%Y) pattern1='\(C\) ([0-9][0-9][0-9][0-9]-)?[0-9][0-9][0-9][0-9] see Authors.txt' |