1
0
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:
Jim Meyering
2011-11-13 20:00:08 +01:00
parent 5f47550b16
commit 47052ddbfa

View File

@ -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