licenses: Add SPDX headers to the git commit hook scripts

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2020-02-07 20:01:17 +02:00
parent ca9ee2127f
commit 606623dcb8
3 changed files with 6 additions and 0 deletions

View file

@ -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:

View file

@ -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

View file

@ -1,5 +1,7 @@
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# A hook script to prevent pushing unsuitable commits to the master branch.
# Unsuitable commits are commits that contain a local changelog below a '---'
# line. The criteria may get extended later.