Upon a commit, these &quot;commit comments&quot; would be automatically combined into a single commit comment.<p>After the commit, the &quot;commit comments&quot; would be automatically removed from the source code.<p>In this way, you would not need to remember what changes you are committing in order to make up a commit comment. You just comment the code as you make the changes.<p>A special syntax would be used for commit comments so they are never confused with normal comments.<p>Note also that in the case of multiple changes being committed at once, these commit comments would give a more accurate mapping of the individual comments to the code changes they refer to.
Ask HN: Why don't programming languages have special “commit comments”?