-
Notifications
You must be signed in to change notification settings - Fork 30.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better commit message for breaking changes. #16846
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -334,6 +334,10 @@ use `Refs:`. | |
- `Refs: http://eslint.org/docs/rules/space-in-parens.html` | ||
- `Refs: https://github.com/nodejs/node/pull/3615` | ||
|
||
5. If your commit introduce a breaking change (`semver-major`), it should contain | ||
an explanation about the reason of the breaking change, which situation would trigger | ||
the breaking change and what is the exact change. | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How about adding something like this: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sounds good to me. I will make a follow-up commit |
||
Sample complete commit message: | ||
|
||
```txt | ||
|
@@ -625,6 +629,7 @@ Focus first on the most significant aspects of the change: | |
1. Does this change make sense for Node.js? | ||
2. Does this change make Node.js better, even if only incrementally? | ||
3. Are there clear bugs or larger scale issues that need attending to? | ||
4. Is the commit message readable and correct? If it contains a breaking change is it clear enough? | ||
|
||
When changes are necessary, *request* them, do not *demand* them, and do not | ||
assume that the submitter already knows how to add a test or run a benchmark. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/introduce/introduces