2 require_once 'MTrack/Interface/CommitListener.php';
4 class MTrackCommitCheck_NoEmptyLogMessage implements IMTrackCommitListener
8 function vetoCommit($msg, $files, $actions, $checker) {
9 if (!strlen(trim($msg))) {
10 return "Empty log messages are not allowed.\n";
15 function postCommit($msg, $files, $actions) {