Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2013-01-23 22:17:26 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2013-01-23 22:17:26 +0400
commitab3d4951055715b1a7a9bd3e313ffb173e656c66 (patch)
tree79cb6629507f90b7c063a459310d1f7293b67147 /contrib
parent34380b3ecb34c75f6234ceb469d5f88f6bfebf29 (diff)
checkyear.sh: mention the exact cp command
Diffstat (limited to 'contrib')
-rw-r--r--contrib/checkyear.sh3
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'