Move period mark after parentheses#1445
Conversation
|
|
||
| * git push origin :branch-to-delete (Bazaar can't accept ref deletions in this way.) | ||
| * git push origin :branch-to-delete (Bazaar can't accept ref deletions in this way) | ||
| * git push origin old:new (it will push 'old') |
There was a problem hiding this comment.
| * git push origin old:new (it will push 'old') | |
| * git push origin old:new (it will push `old`) |
There was a problem hiding this comment.
| # Description: Comments about the changelist. Required. | ||
| # Jobs: What opened jobs are to be closed by this changelist. | ||
| # You may delete jobs from this list. (New changelists only.) | ||
| # You may delete jobs from this list (new changelists only). |
There was a problem hiding this comment.
| # You may delete jobs from this list (new changelists only). | |
| # You may delete jobs from this list (new changelists only). |
| # Files: What opened files from the default changelist are to be added | ||
| # to this changelist. You may delete files from this list. | ||
| # (New changelists only.) | ||
| # to this changelist. You may delete files from this list |
There was a problem hiding this comment.
| # to this changelist. You may delete files from this list | |
| # to this changelist. You may delete files from this list |
| This is the program invoked whenever Git needs to ask the user for credentials, which can expect a text prompt as a command-line argument, and should return the answer on `stdout`. | ||
| (See <<ch07-git-tools#_credential_caching>> for more on this subsystem.) | ||
| This is the program invoked whenever Git needs to ask the user for credentials, which can expect a text prompt as a command-line argument, and should return the answer on `stdout` | ||
| (see <<ch07-git-tools#_credential_caching>> for more on this subsystem). |
There was a problem hiding this comment.
Please, keep the following convention: "one sentence - one line". Therefore, either concatenate both lines to a single one or remove parentheses and leave the second line as an individual sentence.
There was a problem hiding this comment.
Okay, I'll merge it in a single line. @Morganov I've a question, I'm agree with all of your suggestions. But how do I incorporate these suggestions into PR? Means should I use Github Commit suggestions feature? or I've to make these changes locally, then force push it; so you don't have to rebase the PR while merging.
There was a problem hiding this comment.
In this particular case, I recommend you do the changes locally, amend the commit, and do the force push.
Here, I've used commit suggestions to show what exactly should be changed only.
IMHO, nobody wants to see the changes, that have been reverted in the same PR (unless it's necessary 😄).
So again, in the matter to keep git history in a cleaner state, I recommend you update the current commit.
If you don't know how to do this, it's OK, go ahead to apply suggestions - all commits in your PR could be squashed automatically on merge.
@dexter has suggested to put branch name inside backtick[1]. [1]: progit#1445 (comment)
ef5784d to
572a1e0
Compare
@Morganov has suggested to put branch name inside backtick[1]. [1]: progit#1445 (comment)
572a1e0 to
ab00cbe
Compare
|
@Morganov I've completed all suggested changes. Can you review it once, again? |
ben
left a comment
There was a problem hiding this comment.
This is a great scrub of how we're using parentheses, thanks a ton! I just had one niggle and one small tear to shed, but otherwise it looks great.
| # You may delete jobs from this list. (New changelists only.) | ||
| # You may delete jobs from this list (new changelists only). | ||
| # Files: What opened files from the default changelist are to be added | ||
| # to this changelist. You may delete files from this list. | ||
| # (New changelists only.) | ||
| # to this changelist. You may delete files from this list | ||
| # (new changelists only). |
There was a problem hiding this comment.
It doesn't makes sense to "fix" this, since it's verbatim output from a program we didn't write.
There was a problem hiding this comment.
it's verbatim output from a program
Sorry, I missed that. It seems like using period before parentheses is very common, I've seen this in git(1) man page and other places too. Is it a right thing to do (move period after parentheses)?
| ---- | ||
|
|
||
| _(Note that errors are captured, but not handled. We hope your code is better than ours.)_ | ||
| _Note that errors are captured, but not handled. We hope your code is better than ours._ |
There was a problem hiding this comment.
I'm a tiny bit sad to see this go. The parens add something. sigh I guess it's the right thing though.
Usually period mark is present after parentheses, see[1] for more information. [1]: https://brians.wsu.edu/2016/05/30/parentheses/ Resolves: progit#1443
@Morganov has suggested to put branch name inside backtick[1]. [1]: progit#1445 (comment)
ab00cbe to
17a5da7
Compare
|
@ben can you review it, once again? I've made suggested change. |
@ben can you review this pull request, also?
Closes: #1443