From: Andrew Kreimer Date: Tue, 02 Jun 2026 11:15:18 GMT Subject: [PATCH v3] doc: fix typos via codespell 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 --- 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