From patchwork Thu Feb 13 15:36:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 2822 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2969B619E1 for ; Thu, 13 Feb 2020 16:37:00 +0100 (CET) Received: from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B5BC0504 for ; Thu, 13 Feb 2020 16:36:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1581608219; bh=U+kvP8rXgKddWbgpuhXxjm+YdUZKNtrHJ0lxGlEltJs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qJIioIqIUiH538WC+fcFF/VBW/7yD78YdMSsCVt6trSTE8tj++R0CIDHIJMcIeEwk koa3nyE6rD9o8iSVvNwTP5Qj5JaQP9psMdNJIzmo+EdbyGjcq46s3AcjDz4vXiuByv EWVmQnPd6buhih5dWCEvX7poG+DCwSQ5BdNkWCZg= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Thu, 13 Feb 2020 17:36:34 +0200 Message-Id: <20200213153635.27953-11-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200213153635.27953-1-laurent.pinchart@ideasonboard.com> References: <20200213153635.27953-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH/RFC 10/11] licenses: Add SPDX headers to the git commit hook scripts X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Feb 2020 15:37:00 -0000 Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- utils/hooks/post-commit | 2 ++ utils/hooks/pre-commit | 2 ++ 2 files changed, 4 insertions(+) diff --git a/utils/hooks/post-commit b/utils/hooks/post-commit index c8b1739a8d6a..f28cbd8d2c6c 100755 --- a/utils/hooks/post-commit +++ b/utils/hooks/post-commit @@ -1,5 +1,7 @@ #!/bin/sh +# SPDX-License-Identifier: GPL-2.0-or-later + # Execute the checkstyle script after committing any code. This allows the # commit to succeed, but ensures that the developer is aware of any potential # issues immediately, and can resolve them and fix rapidly with: diff --git a/utils/hooks/pre-commit b/utils/hooks/pre-commit index 47fcbc812d68..7a4cb6257dec 100755 --- a/utils/hooks/pre-commit +++ b/utils/hooks/pre-commit @@ -1,5 +1,7 @@ #!/bin/sh +# SPDX-License-Identifier: GPL-2.0-or-later + # Execute the checkstyle script before committing any code. This will fail the # commit in case of style issues, ensuring that the developer will notice them. # The pre-commit hook can be bypassed with git commit -n to ignore selective