summary refs log tree commit diff
path: root/githooks
diff options
context:
space:
mode:
authoredef <edef@unfathomable.blue>2022-06-19 17:03:39 +0000
committeredef <edef@unfathomable.blue>2022-06-19 17:03:39 +0000
commit18c9381a89536fac88c4be5e97f94728cc6007d4 (patch)
treead6f3fe95a3f995e988c459f41ae415faa640c3e /githooks
parent4474798a6b360ee68beac41dc65565dcd3e956fc (diff)
downloadunf-legacy-18c9381a89536fac88c4be5e97f94728cc6007d4.tar.zst
githooks: add SPDX headers
There ought to be a git hook for this..

Change-Id: I111c6150f024782838e40a1855d0d303c6ddbc93
Diffstat (limited to 'githooks')
-rwxr-xr-xgithooks/commit-msg3
-rwxr-xr-xgithooks/install-hooks3
2 files changed, 6 insertions, 0 deletions
diff --git a/githooks/commit-msg b/githooks/commit-msg
index 931a4ad..985819c 100755
--- a/githooks/commit-msg
+++ b/githooks/commit-msg
@@ -1,4 +1,7 @@
 #! /usr/bin/env bash
+# SPDX-FileCopyrightText: edef <edef@unfathomable.blue>
+# SPDX-License-Identifier: OSL-3.0
+
 set -euo pipefail
 change_id=$(head -c32 /dev/urandom | git hash-object --stdin)
 
diff --git a/githooks/install-hooks b/githooks/install-hooks
index 7fb85db..08c91e1 100755
--- a/githooks/install-hooks
+++ b/githooks/install-hooks
@@ -1,2 +1,5 @@
 #! /usr/bin/env bash
+# SPDX-FileCopyrightText: edef <edef@unfathomable.blue>
+# SPDX-License-Identifier: OSL-3.0
+
 git config core.hooksPath githooks