-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
doc: ambiguity in pull-requests.md
#28068
Comments
There is no "issue gets approved for a PR". You can open a PR any time you have a change you believe will improve the code base/docs. |
To me, the commit message is the whole thing. The body of the commit message is all of the text except the first line and the trailing metadata (which the contributor doesn't provide anyway). I think "body" and "description" would refer to the same thing and would want us to stick to one term or the other, rather than use two terms for the same thing. That said, if others don't find that intuitive, then let's do something else. The text is for new contributors, so whatever is clear to them. |
I had to stare at this a lot, but I think what the OP is pointing out is that
and
seem to be saying contradictory things, is it a few lines, or several paragraphs? They might have reached the conclusion that the two sections in our docs refer to different things. |
Ah! That can stand some clarification for sure. |
@sam-github, exactly and I can confirm that as a newer contributor this particular snippet in the aforementioned file was very confusing to me, hence my suggestions to edit this.
@Trott, my thoughts exactly, and therefore I suggested to combine both of these paragraphs under a single term (i.e., body of the commit message) so that it doesn't sound ambiguous to newer contributors in the future. Can I go ahead with this? |
Okay I saw this just now, so @Trott @sam-github, submitting a PR soon! |
Resolved ambiguous meanings for the term `body of commit message` in `pull-requests.md` file, Fixes: nodejs#28068
Hi, why I think it is ok as it is is because some persons might not know what a paragraph looks like so the second sentence started on a new paragraph that showed exactly what a paragraph looks like. |
Hi! I was going through the pull-requests.md file recently and noticed something that seemed a bit confusing to me, which is, in the 4th step the sample commit message says this:
Here the term body of commit message seems to be indicating two different instructions, was this intentional? Shouldn't the second one say something like the body of commit description instead (since only the first line should be preferably 0-50 chars while the description needs to wrapped around 72 columns, as indicated in the second paragraph above)? If not I guess it would make sense to combine both of the above statements into one if they seem to draw facts only about the body of commit message.
Also, since I'm a new contributor at the moment, I'm taking this up, in case this issue gets approved for a PR. Thanks!
The text was updated successfully, but these errors were encountered: