added 1 more message filtering check in pre-commit
This commit is contained in:
parent
f62d9e9d8a
commit
47a26a4c5c
@ -195,7 +195,7 @@ sub check_commit_message
|
|||||||
my $log = $txn->prop ('svn:log');
|
my $log = $txn->prop ('svn:log');
|
||||||
# TODO: block a certain message patterns. create a configuration item
|
# TODO: block a certain message patterns. create a configuration item
|
||||||
# for this
|
# 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");
|
# print (STDERR "Commit message rejected\n");
|
||||||
# return 0;
|
# return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user