Editing Commit message guidelines
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 88: | Line 88: | ||
=== Wording === | === Wording === | ||
− | + | Please write "New function" instead of "Added function" or "Return retval" | |
− | + | instead of "Changed to return retval". | |
− | + | ||
− | + | Never write "Fixed bug" or similar. That doesn't add any specific | |
− | + | information about what was changed. | |
− | + | ||
− | + | The commit message should describe what was changed, not why it was changed. | |
− | + | Any explanation for why a change is needed should appear as comments in the | |
− | + | code, particularly if there is something that might not be obvious to someone | |
− | + | reading it later. | |
− | |||
− | |||
− | |||
− | |||
=== Body of the commit message === | === Body of the commit message === |