summaryrefslogtreecommitdiff
path: root/scripts/git-hooks
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-11-13 20:00:08 +0100
committerJim Meyering <meyering@redhat.com>2011-11-13 20:02:55 +0100
commit47052ddbfa04b16d649ae0ecbaacfd3ce1f03c53 (patch)
tree8904d7ffbc636aa287ebc03c59baca3c427d1580 /scripts/git-hooks
parent5f47550b163e5c32132a221b0576d0dd697dc640 (diff)
downloadcoreutils-47052ddbfa04b16d649ae0ecbaacfd3ce1f03c53.tar.xz
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.
Diffstat (limited to 'scripts/git-hooks')
-rwxr-xr-xscripts/git-hooks/commit-msg2
1 files changed, 1 insertions, 1 deletions
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