diff options
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 |