mirror of
https://github.com/conventional-commits/conventionalcommits.org.git
synced 2026-03-22 21:24:02 -05:00
ambiguity around description field of "fix" #77
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Artoria2e5 on GitHub (Sep 10, 2019).
The descrption specification example of fix is much unlike the descrption given in the summary for
fix, and indeed, for every single other type. Compare:See the problem? Although the spec asks for the description part to describe what the commit does, its very own fix example fails to do that. It thinks the
fixtype field is good enough for a verb to describe what it does, which it does not in most nontrivial cases.Devs blindly following that specific example would write awful commit messages like
fix: foo bar crashes / not responds / does not work / does undesired thingwithout describing what the commit does to achieve it. And that defeats the point of conventional commit.@Artoria2e5 commented on GitHub (Sep 10, 2019):
My proposal is that point 5 gets a sub-point that says:
The imperative mood thing seems to be in #85; for some reason it is gone from the current
next. Although we run the risk of advertising for a competitor, I strongly suggest http://chris.beams.io/posts/git-commit/#imperative be linked too as it provides some quick ways to check.@wesleytodd commented on GitHub (Sep 30, 2020):
Hey @Artoria2e5, I am not sure that the specification can add much value in this area. I think that a guide/faq could provide recommendations, but as there is now way to validate/parse or otherwise tool around the meaning of the description I don't think there is value in the spec trying to detail expectations there.