mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 02:24:18 +00:00

Adds a pre-commit git hook to keep track of copyright year. Checks staged files for Arm copyright header and suggests a change if the year is outdated. Works with both single-year format and from_year-to_year format. Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: If81a0b9f5e047ec0ac401c7cf1792b9da6644926
6 lines
120 B
Bash
Executable file
6 lines
120 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# shellcheck source=./_/husky.sh
|
|
. "$(dirname "$0")/_/husky.sh"
|
|
|
|
"$(dirname "$0")/pre-commit.copyright" "$@"
|