From ab3d4951055715b1a7a9bd3e313ffb173e656c66 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 23 Jan 2013 20:17:26 +0200 Subject: checkyear.sh: mention the exact cp command --- contrib/checkyear.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'contrib') 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 . - # 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' -- cgit v1.2.3