I’m currently writing some hooks for a new SVN instance and I’d like some feedback on what criteria people believe should be applied to verify the commit message is sufficient. This particular SVN instance will be used by a broad range of developers with varying knowledge of SCM best practices.
I’m trying to strike a good balance between forcing enough information to properly describe the change but not becoming overzealous and making life difficult on people who have succinct yet perfectly valid messages. The sort of thing I’m trying to reject is messages like “updated” or “added file” so limits on word count and message length are the obvious choices.
What other criteria would you use to reject messages which don’t properly describe the change? Please keep responses focussed on how you would qualify a satisfactory message; I’m acutely aware of the social need for education and this is happening in parallel.
BTW, don’t need to worry about references to work items or bugs in this particular case.