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/commit-msg | |
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/commit-msg')
-rwxr-xr-x | githooks/commit-msg | 3 |
1 files changed, 3 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) |