git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] comment: fix spelling mistakes inside comments

From
Derrick Stolee <stolee@gmail.com>
Date
Jul 29, 2020, 13:45 UTC
Message-ID
<571792b3-e65b-e6e8-34b9-56a87a47de8d@gmail.com>
In-Reply-To
<pull.685.git.1595993608886.gitgitgadget@gmail.com>
On 7/28/20 11:33 PM, Steve Kemp via GitGitGadget wrote:
Show 7 quoted lines
> From: Steve Kemp <steve@steve.org.uk>
> 
> This commit fixes a couple of minor spelling mistakes inside
> comments.
> 
> Signed-off-by: Steve Kemp <steve@steve.fi>
> Signed-off-by: Steve Kemp <steve@steve.org.uk>

Double sign-off? Perhaps keep the org.uk version, since that is the email you use for authorship.

> -			/* abandonded */
> +			/* abandoned */
> -/* Print a cell to stdout with all necessary leading/traling space */
> +/* Print a cell to stdout with all necessary leading/trailing space */
> -		 * currenty thread-safe and might be racy with object reading,
> +		 * currently thread-safe and might be racy with object reading,
> - * 1. Only a single level of inderection is obtained, we might want to
> + * 1. Only a single level of indirection is obtained, we might want to
These edits are all positive ones.

I'll leave it to more experienced contributors to comment on how a comment-only patch fits with this section Documentation/CodingGuidelines:

 - Fixing style violations while working on a real change as a
   preparatory clean-up step is good, but otherwise avoid useless code
   churn for the sake of conforming to the style.

In my opinion, this change is not harmful, but also isn't super necessary. I could go either way.

Thanks, -Stolee

Previous: Steve Kemp via GitGitGadgetNext: Steve Kemp
Message 2 of 5 in “comment: fix spelling mistakes inside comments”
  1. comment: fix spelling mistakes inside commentsSteve Kemp via GitGitGadget, Jul 29, 2020
  2. Derrick StoleeJul 29, 2020
  3. Steve KempJul 29, 2020
  4. Junio C HamanoJul 29, 2020
  5. Derrick StoleeJul 29, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.