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

[PATCH v3] doc: fix typos via codespell

From
Andrew Kreimer <algonell@gmail.com>
Date
Jun 2, 2026, 11:15 UTC
Message-ID
<20260602111552.6084-1-algonell@gmail.com>
In-Reply-To
<20260506101631.18127-1-algonell@gmail.com>

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).
 t/t1700-split-index.sh         | 2 +-
 t/t3909-stash-pathspec-file.sh | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
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
 		git -c splitIndex.maxPercentChange=100 merge --no-edit side-branch 2>err &&
 		# i.e. do not expect warnings like
 		# could not freshen shared index .../shareindex.00000...
diff --git a/t/t3909-stash-pathspec-file.sh b/t/t3909-stash-pathspec-file.sh
index 3afa6bff3d..e34cea6ce1 100755
--- a/t/t3909-stash-pathspec-file.sh
+++ b/t/t3909-stash-pathspec-file.sh
@@ -29,7 +29,7 @@ verify_expect () {
 test_expect_success 'simplest' '
 	restore_checkpoint &&
 
-	# More files are written to make sure that git didn't ignore
+	# More files are written to make sure that git did not ignore
 	# --pathspec-from-file, stashing everything
 	echo A >fileA.t &&
 	echo B >fileB.t &&
@@ -47,7 +47,7 @@ test_expect_success 'simplest' '
 test_expect_success '--pathspec-file-nul' '
 	restore_checkpoint &&
 
-	# More files are written to make sure that git didn't ignore
+	# More files are written to make sure that git did not ignore
 	# --pathspec-from-file, stashing everything
 	echo A >fileA.t &&
 	echo B >fileB.t &&
@@ -66,7 +66,7 @@ test_expect_success '--pathspec-file-nul' '
 test_expect_success 'only touches what was listed' '
 	restore_checkpoint &&
 
-	# More files are written to make sure that git didn't ignore
+	# More files are written to make sure that git did not ignore
 	# --pathspec-from-file, stashing everything
 	echo A >fileA.t &&
 	echo B >fileB.t &&

Interdiff against v2:
  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
   		git -c splitIndex.maxPercentChange=100 merge --no-edit side-branch 2>err &&
   		# i.e. do not expect warnings like
   		# could not freshen shared index .../shareindex.00000...
  diff --git a/t/t3909-stash-pathspec-file.sh b/t/t3909-stash-pathspec-file.sh
  index 3afa6bff3d..e34cea6ce1 100755
  --- a/t/t3909-stash-pathspec-file.sh
  +++ b/t/t3909-stash-pathspec-file.sh
  @@ -29,7 +29,7 @@ verify_expect () {
   test_expect_success 'simplest' '
   	restore_checkpoint &&
   
  -	# More files are written to make sure that git didn't ignore
  +	# More files are written to make sure that git did not ignore
   	# --pathspec-from-file, stashing everything
   	echo A >fileA.t &&
   	echo B >fileB.t &&
  @@ -47,7 +47,7 @@ test_expect_success 'simplest' '
   test_expect_success '--pathspec-file-nul' '
   	restore_checkpoint &&
   
  -	# More files are written to make sure that git didn't ignore
  +	# More files are written to make sure that git did not ignore
   	# --pathspec-from-file, stashing everything
   	echo A >fileA.t &&
   	echo B >fileB.t &&
  @@ -66,7 +66,7 @@ test_expect_success '--pathspec-file-nul' '
   test_expect_success 'only touches what was listed' '
   	restore_checkpoint &&
   
  -	# More files are written to make sure that git didn't ignore
  +	# More files are written to make sure that git did not ignore
   	# --pathspec-from-file, stashing everything
   	echo A >fileA.t &&
   	echo B >fileB.t &&

Range-diff against v2:
-:  ---------- > 1:  bcbd09129a doc: fix typos via codespell
-- 
2.54.0
Previous: Kristoffer HaugsbakkNext: Junio C Hamano
Message 14 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.