That would be handled via a <CommitRequirement> element in the <CommitRequirements> section. If you wanted to check to make sure the message has a length of 10 (any combination of letters, numbers and spaces) you would use something like this:
<CommitRequirement Description="Length of 10" Regex=".{10}"/>
If you're not too familiar with regular expression pattern matching, the RegexLib site (http://www.regexlib.com) is a great resource and even includes an online pattern tester.
I hope this helps.
Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How do I configure it to the minimum size of a message is 10?
Thanks.
That would be handled via a <CommitRequirement> element in the <CommitRequirements> section. If you wanted to check to make sure the message has a length of 10 (any combination of letters, numbers and spaces) you would use something like this:
<CommitRequirement Description="Length of 10" Regex=".{10}"/>
If you're not too familiar with regular expression pattern matching, the RegexLib site (http://www.regexlib.com) is a great resource and even includes an online pattern tester.
I hope this helps.
Mike
Thanks.