2018-01-22 22:32:31 +08:00
|
|
|
#!/bin/sh
|
2019-06-02 04:58:16 +08:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2018 Intel Corporation. All rights reserved.
|
2018-01-22 22:32:31 +08:00
|
|
|
|
|
|
|
set -e
|
2021-03-31 06:51:42 +08:00
|
|
|
# TODO: reduce duplication with scripts/sof-pre-commit-hook.sh
|
|
|
|
# and with .github/workflows/ with either some .conf file
|
|
|
|
# or some wrapper script
|
|
|
|
exec git show --format=email HEAD |
|
2021-12-02 04:06:06 +08:00
|
|
|
./scripts/checkpatch.pl --no-tree --strict --codespell
|