From 47052ddbfa04b16d649ae0ecbaacfd3ce1f03c53 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 13 Nov 2011 20:00:08 +0100 Subject: 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. --- scripts/git-hooks/commit-msg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/git-hooks/commit-msg b/scripts/git-hooks/commit-msg index 96d594799..76b829db5 100755 --- a/scripts/git-hooks/commit-msg +++ b/scripts/git-hooks/commit-msg @@ -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 -- cgit v1.2.3-54-g00ecf