aboutsummaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorJavi Merino <javi.merino@arm.com>2015-08-10 16:37:55 +0100
committerJavi Merino <javi.merino@arm.com>2015-08-13 18:59:58 +0100
commitdea8e9d314e5b0f9213c5f3ecf87ef4369537082 (patch)
treee4701d7cb8ac76ef4e649e472cc2af3914c768c1 /hooks
parentaace7c0732cac769f1ffe95a89591b6217fa9447 (diff)
downloadtrappy-dea8e9d314e5b0f9213c5f3ecf87ef4369537082.tar.gz
cr2: add copyright headers to files missing them
Make test_copyright check the css as well to insure that it will be preserved. Change-Id: Iadd105b661aecd1b7a61be810fffe73349e3d4d4
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/pre-commit14
1 files changed, 14 insertions, 0 deletions
diff --git a/hooks/pre-commit b/hooks/pre-commit
index 3453655..9231bc2 100755
--- a/hooks/pre-commit
+++ b/hooks/pre-commit
@@ -1,4 +1,18 @@
#!/bin/sh
+# Copyright 2015-2015 ARM Limited
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
#
# git pre-commit hook. There's no way to automate them when cloning a
# repository. You need to run this by hand in the root of the