Community
Participate
Working Groups
Define a public non internal Commit Message Validator (0..n extenders) extension-point. When the user presses the OK button in the CommitDialog, the Commit Message Validator extenders should be invoked. This to prevent the user from committing messages that does fulfil some specific rule. If 1 to n Commit Message Validators are avaliable all should be invoked. If one of the validators returns false the entire operation should be considered to be non-valid and therefore the OK operation will not be completed.
See also bug 430523 comment 1 where I propose pre-commit hooks API which can be also used for commit message validation. I think this bug can be made duplicated of bug 430523 as the requested functionality here is a subset of 430523.