mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2025-07-29 12:21:15 +03:00
maint: adjust git hook to allow "copy: ..." on line 1 of commit message
* scripts/git-hooks/commit-msg: Add "copy" to the list of valid command-name-like summary line prefixes.
This commit is contained in:
@ -42,7 +42,7 @@ check_msg()
|
||||
test|timeout|touch|tr|true|truncate|tsort|tty|uname|unexpand) ;;
|
||||
uniq|unlink|uptime|users|vdir|wc|who|whoami|yes) ;;
|
||||
# other tags
|
||||
gnulib|tests|maint|doc|build|scripts) ;;
|
||||
copy|gnulib|tests|maint|doc|build|scripts) ;;
|
||||
*) echo "invalid first word of summary line: $w"; fail=1;;
|
||||
esac
|
||||
done
|
||||
|
Reference in New Issue
Block a user