I was fortunate enough to prepare some SCM recommendations for our Subversion users and came across a point of disagreement with the team. Is there ever a valid use case for someone committing consecutive commits with the same message?
If you take an approach in which the commit message should describe the “what” and “why” of the code, it is hard to see the actual case for this. Looking at our story, the instances when this happened are apparently more convenient than anything else and really don't tell the story of what the code does.
Does anyone have any views on the legitimacy of this? Can recommendations (or even intercept hooks) be overly diligent, or is that a reasonable expectation?
Edit: allows you to work with the assumption that people are already leaving good commit messages. IMHO, a single word, such as "updated" or "typo", is not a satisfactory commit message. I expected to see something more, like "Updated color of the submit button on green" or "Typo in the training copy fixed." It is very difficult to simply look at the repository log and understand what is going on in the project without drilling individual messages if this message is a word or two.
source
share