added 1 more message filtering check in pre-commit

This commit is contained in:
hyung-hwan 2015-08-06 15:46:37 +00:00
parent f62d9e9d8a
commit 47a26a4c5c

View File

@ -195,7 +195,7 @@ sub check_commit_message
my $log = $txn->prop ('svn:log');
# TODO: block a certain message patterns. create a configuration item
# for this
#if ($log =~ /[[:punct:]]{5,}/ || contains_repeated_chars($log, 4))
#if ($log =~ /[[:punct:]]{5,}/ || $log =~ /[[:alpha:]]{40,}/ || contains_repeated_chars($log, 4))
#{
# print (STDERR "Commit message rejected\n");
# return 0;