Message ID | 20200213153635.27953-11-laurent.pinchart@ideasonboard.com |
---|---|
State | Accepted |
Headers | show |
Series |
|
Related | show |
Hi Laurent, On 13/02/2020 15:36, Laurent Pinchart wrote: > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> > --- > 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 >
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
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- utils/hooks/post-commit | 2 ++ utils/hooks/pre-commit | 2 ++ 2 files changed, 4 insertions(+)