From 18c9381a89536fac88c4be5e97f94728cc6007d4 Mon Sep 17 00:00:00 2001 From: edef Date: Sun, 19 Jun 2022 17:03:39 +0000 Subject: githooks: add SPDX headers There ought to be a git hook for this.. Change-Id: I111c6150f024782838e40a1855d0d303c6ddbc93 --- githooks/commit-msg | 3 +++ githooks/install-hooks | 3 +++ 2 files changed, 6 insertions(+) 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 +# 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 +# SPDX-License-Identifier: OSL-3.0 + git config core.hooksPath githooks -- cgit 1.4.1