Re: [PATCH v3 3/3] git-worktree.txt: fix typo in example path
- From
Andrei Rybak <rybak.a.v@gmail.com>
- Date
- Jun 26, 2021, 10:07 UTC
- Message-ID
- <8da4cb97-eb46-1ce5-ee74-fb1286d230aa@gmail.com>
- In-Reply-To
- <YNbQGoMP+wYZS0CA@carlos-mbp.lan>
On 26/06/2021 08:58, Carlo Marcelo Arenas Belón wrote:
> not sure if this patch really belongs in this specific patchset
Yes, third patch is unrelated to the first two.
Show 5 quoted lines
>, but it > might be worth also fixing the same typo in grep as shown by : > > --- >8 --- > Subject: grep: fix worktree mis spelling
s/mis spelling/misspelling/
Show 16 quoted lines
> > 1d1729caeb (grep: replace grep_read_mutex by internal obj read lock, > 2020-01-15) adds it as part of a comment > > fix it to the right spelling without the extra trailing 'e'. > > diff --git a/grep.c b/grep.c > index 8f91af1cb0..f40c734565 100644 > --- a/grep.c > +++ b/grep.c > @@ -1510,7 +1510,7 @@ static int fill_textconv_grep(struct repository *r, > * > * TODO: allowing text conversion to run in parallel with object > * reading operations might increase performance in the multithreaded > - * non-worktreee git-grep with --textconv. > + * non-worktree git-grep with --textconv.
I deliberately skipped this typo, because it is in a TODO comment, which I thought isn't worth fixing. I probably should have mentioned that in the patch I've sent.
Show 6 quoted lines
> */ > obj_read_lock(); > size = fill_textconv(r, driver, df, &buf); > > Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com> >