summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-11-23 11:10:31 +0000
committerPádraig Brady <P@draigBrady.com>2015-11-23 11:16:17 +0000
commit561f759b01cedda112d696071d205d26b9196d89 (patch)
treed38742ade934b858169759b6a8c6e0a84ca9bc74
parentc7f049c503527c3dd64b2850e2e768bbcf26f2a8 (diff)
downloadcoreutils-561f759b01cedda112d696071d205d26b9196d89.tar.xz
maint: allow 'sha*sum:' tag in commit summaries
To support "md5sum,sha*sum:" Suggested by Bernhard Voelker.
-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 8e79b6cfd..d860f0ba2 100755
--- a/scripts/git-hooks/commit-msg
+++ b/scripts/git-hooks/commit-msg
@@ -24,7 +24,7 @@ my @valid = qw(
sum sync tac tail tee test timeout touch tr true truncate tsort
tty uname unexpand uniq unlink uptime users vdir wc who whoami yes
- all copy gnulib tests maint doc build scripts
+ all copy gnulib tests maint doc build scripts sha\*sum
);
my $v_or = join '|', @valid;
my $valid_regex = qr/^(?:$v_or)$/;