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

Re: [PATCH] cbtree: fix a typo

From
Andrew Kreimer <algonell@gmail.com>
Date
Sep 16, 2024, 09:52 UTC
Message-ID
<Zuf_3mNRm3KuQxlV@void.void>
In-Reply-To
<Zufef70mfdUwSwnY@pks.im>
On Mon, Sep 16, 2024 at 09:30:07AM +0200, Patrick Steinhardt wrote:
Show 10 quoted lines
> On Mon, Sep 16, 2024 at 02:05:22AM +0300, Andrew Kreimer wrote:
> > Fix a typo in comments.
> > 
> > Signed-off-by: Andrew Kreimer <algonell@gmail.com>
> 
> Thanks for these fixes, all three of them look good to me. For future
> such patch series I'd recommend to send a single series that combines
> such related fixes. It makes it a bit easier to keep track of these
> similar patches and review them in one go.
> 
Understood.
Show 25 quoted lines
> > ---
> >  cbtree.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/cbtree.c b/cbtree.c
> > index c1cc30a5dc..cf8cf75b89 100644
> > --- a/cbtree.c
> > +++ b/cbtree.c
> > @@ -12,7 +12,7 @@ static struct cb_node *cb_node_of(const void *p)
> >  	return (struct cb_node *)((uintptr_t)p - 1);
> >  }
> >  
> > -/* locate the best match, does not do a final comparision */
> > +/* locate the best match, does not do a final comparison */
> >  static struct cb_node *cb_internal_best_match(struct cb_node *p,
> >  					const uint8_t *k, size_t klen)
> >  {
> 
> We might convert this to be a proper sentence while at it, namely
> s/locate/Locate/ and s/comparison/&./. But no need to reroll this patch
> for that, as your change is a strict improvement by itself already.
> 
> Thanks!
> 
> Patrick
Thank you!
Previous: Patrick SteinhardtNext: Junio C Hamano
Message 3 of 4 in “cbtree: fix a typo”
  1. cbtree: fix a typoAndrew Kreimer, Sep 15, 2024
  2. Patrick SteinhardtSep 16, 2024
  3. Andrew KreimerSep 16, 2024
  4. Junio C HamanoSep 16, 2024

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.