maint: adjust git hook to allow "copy: ..." on line 1 of commit message
authorJim Meyering <meyering@redhat.com>
Sun, 13 Nov 2011 19:00:08 +0000 (20:00 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 13 Nov 2011 19:02:55 +0000 (20:02 +0100)
* scripts/git-hooks/commit-msg: Add "copy" to the list of valid
command-name-like summary line prefixes.

scripts/git-hooks/commit-msg

index 96d5947..76b829d 100755 (executable)
@@ -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