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

Re: [PATCH v3] doc: fix typos via codespell

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 2, 2026, 13:57 UTC
Message-ID
<xmqqzf1dujtf.fsf@gitster.g>
In-Reply-To
<20260602111552.6084-1-algonell@gmail.com>
Andrew Kreimer <algonell@gmail.com> writes:
Show 8 quoted lines
> There are some typos in the documentation, comments, etc.
> Fix them via codespell.
>
> Signed-off-by: Andrew Kreimer <algonell@gmail.com>
> ---
> v3:
>   - Address test breaking changes (strings bounded by single quotes).
>   - Thank you for your patience (extreme noise/gain ratio).
Thanks, but this is wrong.
>
>  t/t1700-split-index.sh         | 2 +-
>  t/t3909-stash-pathspec-file.sh | 6 +++---
>  2 files changed, 4 insertions(+), 4 deletions(-)

[v3] should not be "on top of" [v2], but the above shows that apparently this is vastly different from [v2], which had

 Documentation/SubmittingPatches            |  2 +-
 Documentation/git-sparse-checkout.adoc     |  2 +-
 Documentation/technical/build-systems.adoc |  6 +++---
 builtin/pack-objects.c                     |  2 +-
 commit-graph.h                             |  2 +-
 compat/precompose_utf8.c                   |  2 +-
 hook.h                                     |  2 +-
 meson_options.txt                          |  2 +-
 midx-write.c                               |  2 +-
 odb/source.h                               |  2 +-
 packfile.h                                 |  2 +-
 path.h                                     |  2 +-
 reftable/system.h                          |  2 +-
 t/README                                   |  2 +-
 t/chainlint.pl                             |  2 +-
 t/chainlint/chain-break-false.expect       |  2 +-
 t/chainlint/chain-break-false.test         |  2 +-
 t/t1700-split-index.sh                     |  2 +-
 t/t3909-stash-pathspec-file.sh             |  6 +++---
 t/t4052-stat-output.sh                     |  2 +-
 t/t4067-diff-partial-clone.sh              |  2 +-
 t/t9150/svk-merge.dump                     | 10 +++++-----
 t/t9151/svn-mergeinfo.dump                 | 18 +++++++++---------
 t/unit-tests/clar/README.md                |  2 +-
 24 files changed, 40 insertions(+), 40 deletions(-)

Until the topic is merged to 'next', a new iteration of patch(es) should cleanly apply to the base that [v2] was meant to apply, but should pretend as if [v2] never existed.

Show 10 quoted lines
> diff --git a/t/t1700-split-index.sh b/t/t1700-split-index.sh
> index 869fb4a14e..887e72a5fa 100755
> --- a/t/t1700-split-index.sh
> +++ b/t/t1700-split-index.sh
> @@ -502,7 +502,7 @@ test_expect_success 'do not refresh null base index' '
>  		git checkout main &&
>  		git update-index --split-index &&
>  		test_commit more &&
> -		# must not write a new shareindex, or we won't catch the problem
> +		# must not write a new shareindex, or we will not catch the problem

The committed code never had "we won't" (what was in 'seen' does not count), and this patch clearly shows that this is to fix-up the breakage the previous round caused. We do not want that.

I'll squash the fix-up I already had into [v2] that I have queued, which should be sufficient to get to the state this [v3] should have been, I think.

Thanks.
Previous: Andrew KreimerNext: Johannes Schindelin
Message 15 of 17 in “doc: fix typos via codespell”
  1. doc: fix typos via codespellAndrew Kreimer, May 6, 2026
  2. Kristoffer HaugsbakkMay 9, 2026
  3. Kristoffer HaugsbakkMay 28, 2026
  4. Junio C HamanoMay 28, 2026
  5. Junio C HamanoMay 10, 2026
  6. Weijie YuanMay 23, 2026
  7. docs: fix typos and grammarWeijie Yuan, May 29, 2026
  8. Junio C HamanoJun 1, 2026
  9. Weijie YuanJun 2, 2026
  10. Weijie YuanJun 2, 2026
  11. doc: fix typos via codespellAndrew Kreimer, May 31, 2026
  12. Junio C HamanoJun 1, 2026
  13. Kristoffer HaugsbakkJun 1, 2026
  14. doc: fix typos via codespellAndrew Kreimer, Jun 2, 2026
  15. Junio C HamanoJun 2, 2026
  16. Johannes SchindelinJun 6, 2026
  17. Junio C HamanoJun 8, 2026

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.