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:
parent
ca9ee2127f
commit
606623dcb8
3 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
# Execute the checkstyle script after committing any code. This allows the
|
# Execute the checkstyle script after committing any code. This allows the
|
||||||
# commit to succeed, but ensures that the developer is aware of any potential
|
# commit to succeed, but ensures that the developer is aware of any potential
|
||||||
# issues immediately, and can resolve them and fix rapidly with:
|
# issues immediately, and can resolve them and fix rapidly with:
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
# Execute the checkstyle script before committing any code. This will fail the
|
# 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.
|
# 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
|
# The pre-commit hook can be bypassed with git commit -n to ignore selective
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
# A hook script to prevent pushing unsuitable commits to the master branch.
|
# A hook script to prevent pushing unsuitable commits to the master branch.
|
||||||
# Unsuitable commits are commits that contain a local changelog below a '---'
|
# Unsuitable commits are commits that contain a local changelog below a '---'
|
||||||
# line. The criteria may get extended later.
|
# line. The criteria may get extended later.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue