diff options
author | edef <edef@unfathomable.blue> | 2022-06-19 17:03:39 +0000 |
---|---|---|
committer | edef <edef@unfathomable.blue> | 2022-06-19 17:03:39 +0000 |
commit | 18c9381a89536fac88c4be5e97f94728cc6007d4 (patch) | |
tree | ad6f3fe95a3f995e988c459f41ae415faa640c3e /githooks | |
parent | 4474798a6b360ee68beac41dc65565dcd3e956fc (diff) | |
download | unf-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-x | githooks/commit-msg | 3 | ||||
-rwxr-xr-x | githooks/install-hooks | 3 |
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 |